Make the directory first
sudo mkdir -p /usr/local/lib
Then make the file and restart apache
sudo touch /usr/local/lib/php.ini
and BiNgO you have a PHP.ini file ;-)
© 2014, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.