[PHP] Install question
I have just started with a clean install on a Windows XP Pro system, Apache 2.24 and PHP 5.2.3 Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3. I can access html files just fine but I can't even run a test program ?php phpinfo(); ? Nothing displays. Where do I look to see whats wrong? Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Install question
On 6/15/07, Paul K [EMAIL PROTECTED] wrote: I have just started with a clean install on a Windows XP Pro system, Apache 2.24 and PHP 5.2.3 Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3. I can access html files just fine but I can't even run a test program ?php phpinfo(); ? Nothing displays. Where do I look to see whats wrong? Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php The server logs, your php.ini, your httpd.conf just to name a few. Make sure you have your AddHandler and AddType lines done correctly in httpd.conf, make sure that PHP is turned on in your php.ini file, make sure you restart Apache after any changes are made, and make sure you consult your logs for any issues that may not display to the screen. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Install question
Paul K wrote: I have just started with a clean install on a Windows XP Pro system, Apache 2.24 and PHP 5.2.3 Apache Monitor reports Apache/2.24(Win32)PHP/5.2.3. I can access html files just fine but I can't even run a test program ?php phpinfo(); ? Nothing displays. Where do I look to see whats wrong? Paul Look at the source returned to you in your browser. If you see the actual php code, then you need the AddHandler and AddType settings in your Apache conf file. First, make sure that the php module is being loaded. -- Jim Lucas Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them. Twelfth Night, Act II, Scene V by William Shakespeare -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Install Question - Missing php.ini
I compiled php 4.2 with the following command (Linux Server) ./configure --with-mysql --with-apxs --enable-dbase --with-xml --enable-ftp --with-curl --enable-cli Where is my php.ini file? I cannot find it on my system. David McInnis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Install Question - Missing php.ini
Try doing locate php.ini. Your likely to have to copy php.ini.dist to php.ini if this is your first installation. Usually you'll find it in /usr/local/etc/ or /usr/local/lib/ depending on your distro. - Dan -Original Message- From: David McInnis [mailto:[EMAIL PROTECTED]] Sent: 06 May 2002 16:28 To: [EMAIL PROTECTED] Subject: [PHP] Install Question - Missing php.ini I compiled php 4.2 with the following command (Linux Server) ./configure --with-mysql --with-apxs --enable-dbase --with-xml --enable-ftp --with-curl --enable-cli Where is my php.ini file? I cannot find it on my system. David McInnis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4
Hi, I'll spare you from the stuff with stupid question and answers http://httpd.apache.org/dist/httpd/binaries/win32/ is the address to the win32 binary. get 1.3.19 cause some more einvironment variables are supported. To set the wholee thing up I can recommend this: http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/ covers the installation of PHP, Apache, MySQL and SSL. good luck Johannes "Peter Van Dijck" [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Apologies if this is off topic, and apologies for double posting to the install list! I'm just completely stuck... for home development I want to install apache and phph and mysql on win NT 4. It's my first time. I was trying to find the apache install for win but I can't seem to find it here: http://httpd.apache.org/dist/httpd/ On this page: http://httpd.apache.org/docs/windows.html it says: "You should download the binary build of Apache for Windows named as apache_1_3_#-win32-with_src.msi if you are interested in the source code, or simply apache_1_3_#-win32-no_src.msi if you don't plan to do anything with the source code and appreciate a faster download" But I can't find that file for download! Is there any idiot's guide to doing these installs? (I'm going to have to turn mod-rewrite on, and maybe a few options for PHP but that will be it) Thanks for any help! I would really love to get this done this weekend asap... Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4
Ok, I have Apache running, and PHP running. However, when I look at http://localhost/test.php it works (e.g. phpinfo() shows all the info), but I get 3 popups: "Unable to load dynamic library 'php_pdf.dll' - The specified module could not be found." I click OK "The dynamic link library isqlt09a.dll could not be found in the specified path f:\PROGRA~1\APACHE~1\apache\cgi-bin\php;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;F:\jdk1.3.0_01\bin\;C:\WINNT\system32;C:\WINNT;." I click OK "Unable to load dynamic library 'F:\PROGRA~1\APACHE~1\Apache\cgi-bin\PHP\EXTENSIONS/php_ifx.dll' - The specified module could not be found." I click OK So that is weird. Another weird thing is that at the top of any PHP page I put there and run, it prijnts to the screen this: "X-Powered-By: PHP/4.0.4 Content-type: text/html " Any help / ideas? Thanks! This is going alright for my first time ever install ... :) Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4
Hi, thanks for the tips. first check to see if you actually have those DLLs in your computer. use Start | Find Files or whatever you want to use. php_pdf.dll (the first error - the other errors seem to have stopped all by themselves) is actually in the /extensions/ subdir of php. (Php is installed in the cgi bin of Apache, I'm working on win NT 4) if they're there already, they're just not in your path. do whatever needs to be done on your computer to put them in the path (there are different ways to handle this if you're on Win95/98, WinNT, Win2000 and probably WinME. i'm only familiar with the Win95/98 (edit autoexec.bat), WinNT (i forget exactly, but i can find it if i've got it in front of me). no idea where you do that in Win2000 and ME though. what web server are you using? are you trying to do this in apache? if yes, you need to edit httpd.conf to tell it about php. that's easy, just search for the string "php" in httpd.conf and uncomment the relevant lines. it's pretty obvious (one line is Load-Module, the other is Add-Type). ok, did that, uncommented these 2 lines in the apache config file: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps I already had added these before: ScriptAlias /php4/ "F:/Program Files/Apache group/Apache/cgi-bin/PHP/" Action application/x-httpd-php4 "/php4/php.exe" AddType application/x-httpd-php4 .php AddType application/x-httpd-php4 .php3 I restarted apache after doing this but I still get the "X-Powered-By: PHP/4.0.4 Content-type: text/html" on every php page. Any ideas? Peter ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] install question: idiot guide to apache and phph and mysql on win NT 4 - solved!
I copied the php_pdf.dll file from the apache/cgi-bin/php/.. directory to the windows/winnt/system32 directory (it was just a hunch) and behold, it worked brilliantly!! Thanks! Now I just have to figure out how to: 1- get mysql to work 2- get virtual domains to worl Peter hello, i'm not an expert on apache/php for windows, so i won't go on the list so as not to pollute it with possibly wrogn answers. the following are generic troubleshooting things, not specific to your question. caveat emptor :). On Fri, 13 Apr 2001, you wrote: "Unable to load dynamic library 'php_pdf.dll' - The specified module could "The dynamic link library isqlt09a.dll could not be found in the specified path f:\PROGRA~1\APACHE~1\apache\cgi-bin\php;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;F:\jdk1.3.0_01\bin\;C:\WINNT\system32;C:\WINNT;." "Unable to load dynamic library 'F:\PROGRA~1\APACHE~1\Apache\cgi-bin\PHP\EXTENSIONS/php_ifx.dll' - The specified module could not be found." first check to see if you actually have those DLLs in your computer. use Start | Find Files or whatever you want to use. if they're not there, you'll need to find them somewhere on the web. or, if you don't need them, find an apache/php installer that doesn't require them. sorry, can't help you there. i work in Unix, i always build my own apache and php with all modules they need. the only time i installed on Windows, it worked like a charm since the module i was installing from already had everything it needed. if they're there already, they're just not in your path. do whatever needs to be done on your computer to put them in the path (there are different ways to handle this if you're on Win95/98, WinNT, Win2000 and probably WinME. i'm only familiar with the Win95/98 (edit autoexec.bat), WinNT (i forget exactly, but i can find it if i've got it in front of me). no idea where you do that in Win2000 and ME though. Another weird thing is that at the top of any PHP page I put there and run, it prijnts to the screen this: "X-Powered-By: PHP/4.0.4 Content-type: text/html " what web server are you using? are you trying to do this in apache? if yes, you need to edit httpd.conf to tell it about php. that's easy, just search for the string "php" in httpd.conf and uncomment the relevant lines. it's pretty obvious (one line is Load-Module, the other is Add-Type). if no, then you'll need to find a way to tell the web server about PHP. either that, or you can (somehow) configure PHP to execute with -q, i.e., in "quiet" mode. that stops it from printing those two lines. but then you'll have to make sure on your own that the Content-type is set correctly in your web browser. feel free to quote any of this on the list if you think it might help someone else help you. good luck. tiger -- Gerald Timothy Quimpo [EMAIL PROTECTED] http://members.xoom.com/TigerQuimpo entia non sunt multiplicanda veritas liberabit vos praetere necessitatemmene sakhet ur-seveh ~~ http://liga1.com: building multiple language/culture websites -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]