PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
It is currently Tue Nov 20, 2018 7:43 am

All times are UTC - 5 hours

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Jan 06, 2012 6:22 am 
Forum Newbie

Joined: Fri Jan 06, 2012 6:20 am
Posts: 1
This attempt comes after an initial installation of AMP last year, in september. I removed Apache and PHP and I downloaded some new versions, because I had problems with something on a website. I have CentOS 5.5, Apache 2.3.8 and PHP 5.4. Apache and MySQL are installed and functioning normally, working website accessible from browser, databases accessible using navicat. The problem is I can't make PHP work again.

I took the archive, extracted it, then:

1../configure --with-apxs2=/usr/local/apache2/bin/apxs --disable-debug --enable-ftp --enable-inline-optimization --enable-magic-quotes --enable-mbstring --enable-mm=shared --enable-safe-mode --enable-track-vars --enable-trans-sid --enable-wddx=shared --enable-xml --with-dom --with-gd --with-gettext --with-mysql-dir=/usr/ --with-regex=system --with-xml --with-zlib-dir=/usr/lib --with-config-file-path=/usr/local/lib/php.ini

2. Make

3. Make install

All without errors, except the first one, where it says it does not recognize some parameters (ie those with --), but it does not matter that much, I think: unrecognized options: --enable-magic-quotes, --enable-mm, --enable-safe-mode, --enable-track-vars, --enable-trans-sid, --with-dom, --with-mysql-dir, --with-xml. Besides that, there are no other errors during compilation and installation. But after installation, there is no php.ini anywhere on the hard drive.

What should I do? Maybe I was tired and missed something...

PS: Note that for --with-config-file-path=/usr/local/lib/php.ini, I tried with file path (how it is written here), with directory path, (/usr/local/lib), and no option (the default path) and it still does not work, no php.ini file anywhere.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group