Page 1 of 1

where is php.exe

PostPosted: 28. October 2009 14:37
by shaded2
hello, I have an existing installation of xampp for windows and i want to try out zend framework. IT seems send requires php.exe to automatically create its directory structure. However this file seems to be missing. I did a windows search under my xampp folder and came up with nothing?

While googleing, it obvious that people are using zend with xampp. What am i missing?

Re: where is php.exe

PostPosted: 28. October 2009 17:44
by Wiedmann
I have an existing installation of xampp

Which XAMPP?

Re: where is php.exe

PostPosted: 29. October 2009 13:36
by shaded2
###### ApacheFriends XAMPP (Basispaket) version 1.7.0 ######

Re: where is php.exe

PostPosted: 01. November 2009 02:34
by Izzy
php.exe is in the \xampp\php folder but if you have Hide extensions for known files types ticked in the Folder Options under the View tab in the Windows Control Panel then you will not see the exe file extension part - best solution is to un-tick this option then search again and whilst you are at there un-tick the setting Do not show hidden files and folders.

In the php.ini file found in the \xampp\apache\bin folder find this section
Code: Select all
[Zend]
zend_extension_ts = "C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts = "C:\xampp\php\zendOptimizer\lib\Optimizer"
zend_optimizer.enable_loader = 0
zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:
Change the line:
zend_optimizer.enable_loader = 0
to
zend_optimizer.enable_loader = 1

Save the file and restart Apache, but first make a Copy of php.ini file so if that fails to work or Apache won't start after editing then simply revert to your saved copy.

Good luck.