RES: RES: [PHP-INSTALL] I Can't Open the PHP Environment

From: Date: Wed, 30 Apr 2008 17:22:39 +0000
Subject: RES: RES: [PHP-INSTALL] I Can't Open the PHP Environment
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-18873@lists.php.net to get a copy of this message
Correct, it will install everything again. Those programs make some tweaks in php/apache/mysql installs that are not very friendly when deploying your app, but they help a lot when all you’re worried is writing scripts for learning :) PS: Please always reply to list so everyone can benefit from the answers _____ De: me@scottsolomon.biz [mailto:me@scottsolomon.biz] Enviada em: quarta-feira, 30 de abril de 2008 11:31 Para: thiago.pojda@softpartech.com.br Assunto: re: RES: [PHP-INSTALL] I Can't Open the PHP Environment if i install PHPTriad, then i could uninstall php, right? -- Scott Solomon 301 922 3110 me@scottsolomon.biz _____ From: "Thiago Pojda" <thiago.pojda@softpartech.com.br> Sent: Wednesday, April 30, 2008 9:42 AM To: me@scottsolomon.biz>, <j.kaluza@redcross-transfusion.be>, <thomas@koch.ro Subject: RES: [PHP-INSTALL] I Can't Open the PHP Environment php.exe is the cli and it's doing what it should do: nothing, if you gave it nothing. :) You'll need Apache or IIS (I'd suggest you already start with Apache) to get it working. As you're in Windows, you should look for PHPTriad, EasyPHP, WAMP[P?] and stuff like that, they already install Apache+PHP+MySQL/PostgreSQL in one shot and you can start playing around. Look for some php basics on the web, and if you need: just ask around :) Welcome! _o/ Regards, Thiago _____ De: me@scottsolomon.biz [mailto:me@scottsolomon.biz] Enviada em: quarta-feira, 30 de abril de 2008 10:03 Para: j.kaluza@redcross-transfusion.be; thomas@koch.ro Cc: php-install@lists.php.net Assunto: re: [PHP-INSTALL] I Can't Open the PHP Environment hey, i just installed php, but when i double-click the php.exe icon, a command line window opens, but nothing happens. where is my PHP development environment? (Windows XP) What should I see? How do i open and start php? I have never used php before, so this is my first time. I installed it over the weekend. -- Scott Solomon 301 922 3110 me@scottsolomon.biz _____ From: j.kaluza@redcross-transfusion.be Sent: Wednesday, April 30, 2008 5:41 AM To: Thomas Koch <thomas@koch.ro> Subject: [PHP-INSTALL] development environment parallel to stable php install i might be wrong but the --with-config-file-path should point to a directory containing a file with the name like 'php-config' Jerôme Kaluza Service du Sang Service Informatique Croix-Rouge de Belgique rue de Stalle 96 - 5e étage B-1180 Bruxelles Tél. : + 32 (0)2 371 35 27 Fax : + 32 (0)2 371 35 23 j.kaluza@redcross-transfusion.be <http://www.transfusion.be/> http://www.transfusion.be P.S.: Le temps de lire ce mail, 1 personne aura eu besoin d'une transfusion en Belgique pour survivre. Alors, n'oublions pas : une vie est irremplaçable, pas le sang ! Plus d'infos, sur <http://www.transfusion.be/> http://www.transfusion.be. Thomas Koch <thomas@koch.ro> 30/04/2008 10:50 A php-install@lists.php.net cc Objet [PHP-INSTALL] development environment parallel to stable php install he Hi, I'm following Sara Golemon's book Extending and Embedding PHP. Now I want to have my development sandbox totally separated from my stable PHP installation. (I'm running Debian Lenny with PHP4 and 5 installed from Debian.) So I do ./configure --enable-debug \ --enable-maintainer-zts \ --disable-cgi \ --enable-cli \ --disable-pear \ --disable-xml \ --disable-sqlite \ --without-mysql \ --enable-embed \ --prefix=/var/builds/php5_3 \ --with-config-file-path=/var/builds/php5_3/etc So the only difference to the book is, that I give the --prefix and --with-config-file-path options. Now after 'make cli' and 'make install' I have my first problem. PHP does not load a php.ini located at /var/builds/php5_3/etc/php.ini. The next problem comes after compiling the sample extension from the book: Warning: dl(): ical: Unable to initialize module Module compiled with module API=20060613, debug=0, thread-safety=0 PHP compiled with module API=20071006, debug=1, thread-safety=1 These options need to match I did use the phpize from my custom PHP build! /var/builds/php5_3/bin/phpize --version Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20071006 Zend Extension Api No: 220070929 Does somebody has any hints on my two issues? Best regards, -- Thomas Koch, Software Developer Young Media Concepts GmbH Sonnenstr. 4 CH-8280 Kreuzlingen Switzerland Tel +41 (0)71 / 508 24 86 Fax +41 (0)71 / 560 53 89 Mobile +49 (0)170 / 753 89 16 Web www.ymc.ch

« previous php.install (#18873) next »