|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
general - PHP.ini Fine from command line - Ignored by Apache
Ive been going round in circles for ages, when viewing the output of a
test file that simply prints the phpinfo data when viewed via the command line the php output shows all relevant config data as read via /etc/php.ini however when viewed via the web this is not the case, even though phpinfo says it is reading from the same file /etc/php.ini There are no other php.ini files on the entire system. Any ideas please? Snippets of both outputs First from the web/Apache Quote:
Secondly from the command line Quote:
As you can see from the outputs, whats enabled/disabled is not the same as when viewed from the web various loaded modules are not enabled. Its basically like Apache is totally ignoring php.ini I have tried adding PHPIniDir "/etc" into the apache conf (even tho phpinfo output indicates it knows where php.ini is already) but to no avail. |
|
#2
|
|||
|
|||
|
The ouput string you posted is showing the configuration parameters used when building the php executable. It's normal that a different configure command was used when building the cli executable vs. the apache module.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > general - PHP.ini Fine from command line - Ignored by Apache |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|