I have OS X 10.5 configured with precompiled versions of PHP 5 and Apache 2. I am trying to configure Zend Debugger, but with no luck. Here is what I did:
ZendDebugger-5.2.14-darwin8.6-uni.tar
/Developer/Extras/PHP
drwxrwxr-x
root:admin
ZendDebugger.so
5_2_x_comp
I updated the file /etc/php.iniby adding the following lines:
/etc/php.ini
zend_extension=/Developer/Extras/PHP/ZendDebugger.so zend_debugger.expose_remotely=always zend_debugger.connector_port=10013 zend_debugger.allow_hosts=127.0.0.1
I restarted Apache using the Sharing Settings panel
When I run phpinfo()in a PHP file, I don't mention Zend Debugger. When I run php -mfrom the command line, it shows the Zend Debugger boot. Both claim to use the same version of PHP and load the same INI file.
phpinfo()
php -m
- ?
, , Zend Debugger 32- Apache, Apache, Max OS 10.5, 64- . Zend 64- , :
1) Apache 32-
2) Apache PHP 32- .
, , , .
32- . , , AppleScript:
do shell script "apachectl stop" with administrator privileges do shell script "arch -i386 /usr/sbin/httpd" with administrator privileges
-, 32- , .
Zend 64- Mac OSX, http://www.zend.com/en/products/studio/downloads .
, .
.
, !! !! , - apache/httpd (, php.ini), "sudo arch -i386/usr/sbin/httpd", :
(48) : make_sock: [::]: 80
: sudo killall httpd
"sudo arch -i386/usr/sbin/httpd" , apache/httpd.
Source: https://habr.com/ru/post/1698758/More articles:Тест RCP-связи/отзывчивость - remote-desktopHow to reload kerberos configuration under tomcat? - tomcatИзмените HTML в окне Internet Explorer с помощью внешних .menuArguments - internet-explorerBest way for an R&D company to get out of a clean “D” regime? - rdDownload the xml.gz file using HttpsURLConnection - javaOracle Planned Jobs - sqlUsing Stack is better than List in terms of memory usage with .NET. - .netIs there an easy way to use base class variables? - c ++How to enable WPF control animation before deleting from visual tree - controlsСоздание SQL-скриптов для SQL Server с использованием студии управления SQL - sql-serverAll Articles