Php-apache Installation Porblems
I have been trying to install php5 to use with apache2 and windows xp. Apache installs fine and when you look up localhost you see the apache welcome screen no problems. Then the fun begins I download php5 save it to C drive under PHP5 move and rename the php.ini file to WINDOWS.
Then move php5ts.dll to WINDOWS-SYSTEM32. Edit the apache config file with the usual LoadModule and AddType info. Then create phpinfo file store it in htdocs in apache. When I try to access it in IE, Firefox or Opera all I get is the error 404 file not found message. If you load a html page into the browser this works fine. I have restored my computer numerous times to rectify the problem but every time same message. No matter where you move the files always the same.
View Complete Forum Thread with Replies
Related Forum Messages:
Installation With Apache
i have recently installed apache and now im trying to install php. i have the newest php and newest apache i used the self installation then what do i do?
View Replies !
Installation Of Apache
Installed apache_2.0.44-win32-x86-no_ssl.msi on XP Pro, changed port to 8080 as I am running Skype. Opened up browser and typed http://localhost/ This is result Directory Listing Denied, This Virtual Directory does not allow contents to be listed.
View Replies !
Apache Installation
I used to use PHP with IIS as a web server, and everthing was working fine. Recently i formatted my pc, and i decided to try out Apache instead of IIS. I installed apache and when i type http://localhost in my web browser i get the page that apache is installed successfully. I have also installed php 5 the binary version using the same guidelines which i used to use with my previous installations (and never had any problems). however, this time when i put a website in the root folder and try to access it via my web browser http://localhost/sitefolder/index.php i am simply getting this page cannot be displayed.
View Replies !
Apache Installation Question?
I am able to install Apache in my XP home edition. I did put a very simple index.html /apache/htdocs/index.html and when I type in http://localhost/index.html, I get this error : Not Found. Please tell me where should I put the index.html? PS. I did not change httpd.conf and here is part of it DocumentRoot "/apache/htdocs" # # Each directory to which Apache has access, can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # permissions. # <Directory /> Options FollowSymLinks AllowOverride None </Directory> ==== http://localhost/index.html The requested URL /index.html was not found on this server. Apache/2.0.52 (Win32) Server at localhost Port 80 ==== http://localhost If you can see this, it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page. Seeing this instead of the website you expected? This page is here because the site administrator has changed the configuration of this web server. Please contact the person responsible for maintaining this server with questions. The Apache Software Foundation, which wrote the web server software this site administrator is using, has nothing to do with maintaining this site and cannot help resolve configuration issues. The Apache documentation has been included with this distribution. You are free to use the image below on an Apache-powered web server.
View Replies !
PHP N Apache Installation On Solaris
Can anyone guide me how to install and configure PHP with Apache on Sun's Solaris 2.7 The details of my Solaris are as follows... Sun Ultra 5/10 System v Release 4.0 Solaris 2.7 SunOS Release 5.7 Generic_106541_06
View Replies !
Apache/mysql/PHP Installation
So i installed xampp package, and that works if i do not touch anything. If i change doc_root in Apache configuration file, localhost points to the location and html files execute normally but php doesnt. Can anyone tell me what else must i setup except Apache conf file so i can execute PHP files in directory i create somwhere on the disk? How can i change the default directory in which php scripts are executed?
View Replies !
Question On My Apache 2.2.4/PHP 5.2.3 Installation
how I could fix this issue with my installation of PHP 5.2.3 as a module of Apache 2.2.4 on my Windows XP Pro SP2 system: I recently installed Apache 2.2.4 to C:/apache using the installer, then I manually installed PHP 5.2.3 into C:/apache/php. After configuring doc_root in my php.ini file accordingly, I set up PHP as a module for Apache by adding the following lines to my Apache httpd.conf configuration file: Code:
View Replies !
Installation Php For Ldap And Apache Under Linux
i'm trying to compile for apache the php with a link for functions ldap In a static way with apache , i have to launch a configure for apache first , then i go to php and i launch a configure --with-apache= directory apache --with-ldap = directory ldap and i finish with make and make install for php: this is functionning The last thing to do is to activate module php for apache with the following command for apache : ./configure --activate-module=/src/modules/php3/libphp3.a and after make and make install but when i launch the make the functions ldap aren't not found I use apache 1.3.12 , php 3.0.17 and openldap 1.2.11 and a linux mandrake 7.0.
View Replies !
Apache & PHP Installation/configuration Problem
I am trying to set up the Apache Server for PHP (in Windows XP), but when I ad the line: LoadModule php4_module c:/php-4.2.3-Win32/sapi/php4apache2.dll (in httpd.conf), then the Apache Server refuces to start (I get "The requested operation has failed" msg). Without that line the Apache Server starts with no problems. The directory path is correct.
View Replies !
Installation (MySQL, Apache, Perl, And PHP)
I just installed MySQL, Apache, Perl, and PHP, and am having some issues with PHP. I am not really sure if it is loaded correctly. When I execute apachectl restart, it responds that the server is restarted, but a test html page with the tag <phpinfo ( )?> does not produce any specific output. Is this a correct test page, or how else can I test that PHP is functioning as a Apache DSO?
View Replies !
Win98, Apache & Php4.3 Installation
I tried to install php as apache module. Previously it has been cgi. WIn 98 is not supported but cgi worked fine, anyway. I tried to everything according to instructions in php.net, but still it didn't work. - I put php4ts.dll to windows/system32 directory. - I configured http.conf: - I used the path where I had put php download (PHP 4.3.3 zip package [6,180Kb]). - I commented these three lines that were for the CGI-install: # ScriptAlias /php/ "c:/php/" # AddType application/x-httpd-php .php # Action application/x-httpd-php "/php/php.exe" But Apache didn't start. It died because of this line: LoadModule php4_module "c:/HERE_WAS_MYPATH/sapi/php4apache2.dll" http://fi2.php.net/manual/en/install.apache2.php If you would like to use PHP as a module in Apache 2.0, be sure to move php4ts.dll for PHP 4, or php5ts.dll for PHP 5, to winnt/system32 (for Windows NT/2000) or windows/system32 (for Windows XP), overwriting any older file. You need to insert these two lines to your Apache httpd.conf configuration file to set up the PHP-Module for Apache 2.0: Example 3-8. PHP and Apache 2.0 as Module ; For PHP 4 do something like this: LoadModule php4_module "c:/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php ; For PHP 5 do something like this: LoadModule php5_module "c:/php/sapi/php5apache2.dll" AddType application/x-httpd-php .php Note: Remember to substitute the c:/php/ for your actual path to PHP in the above examples. Take care to use either php4apache2.dll or php5apache2.dll in your LoadModule directive and notphp4apache.dll or php5apache.dll as the latter ones are designed to run with Apache 1.3.x. Warning Don't mix up your installation with dll files from different PHP versions . You have the only choice to use the dll's and extensions that ship with your downloaded PHP version.
View Replies !
Installation Of Php/apache/mysql On Win98
I'm using an old computer - Win 98. I'd like to install php/apache/mySql on it but there are many versions and some do not recommend installing on Win98. If somebody could point me in the right directions about which versions of apache, mySql and PHp - or if there is a package suitable for Win98 that would be great.
View Replies !
Installation Question Re: Apache Httpd.conf
I'm trying to configure the config file in Apache to load the PHP module, but am getting the following error: LoadModule takes two arguments, a module name and the name of a shared object file to load it from The lines I added to the config file were as follows: LoadModule php4_module c:Program FilesPHPphp4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php I have loaded the appropriate phpapache.dlls into the Apache directory where the apache exe resides, but am still not able to run the web server. If I have copied those files to the directory, do I still need to load the modules within the config file?
View Replies !
Fedora 4.0- PHP 5 - MYSql 5 -Apache With 64 Bit Installation Help...[URGENT]
Can anyone help in installation of Fedora 4.0 , PHP 5 and MYSql 5 with Apache webserver I want to install 64 bit version of all because I bought new PC with 64 bit supporting. Please provide me help where I can get step by step information about installation of all above and if necessary give download link also. I tried myself lot but not successfull. I have 64bit fedora 4.0 which is installed from fedora site. Guide me soon if possible I need to start project in PHP 5 and MySql 5.
View Replies !
PhpMyAdmin Installation - Thorough Installation Guide.
I am trying to install phpMyAdmin-2.6.3-pl1 on my machine because I am familiar with working with it itself, but not installing it. I have Apache 2.0.54, php 4.4.0, mysql 4.1.14 running on a Win XP Home machine. Like I said, I've never installed phpMyAdmin before and I've looked at the documentation and I can kinda make out what it says, but I'd rather try to find a very thorough installation guide.
View Replies !
Php Installation
i've just bought PHP and MySQL web development by luke welling and laura thomson. although this book comes with the software i'm finding it difficult understanding the installation instructions for apache php and mysql and linking them together, how come there's 2 folders for each, binary and source? it might be easier if i download the software from thier respective websites and start afresh, i'm using windows 98 and just looking to build a testing platform....
View Replies !
Installation On XP
I have to install php in my PC. My os is XP. What are the steps that i have to take in order to implement the above. If we once install mysql-admin we whether i can uninstall it from my system?
View Replies !
PHP 5 Installation
I've just downloaded the PHP5 Zip release. I followed the instructions and, like it said, got it working fine without extensions. I then tried enabling an extension to see if it worked, but I got a "DLL Not Found Message". The path it gave was the correct path (C:Program FilesPHP5libsphp_mysql.dll) and I've checked and the file exists, so what could be going wrong?
View Replies !
GTK Installation
How to install PHP-GTK? The Windows binary installation packages found on gtk.php.net are missing .DLLs from winnt directory. Only php.ini is there. And I don't know where to find these. I tried to install GTK using the unofficial Windows installer (michel.weimerskirch.net), and test scripts from gtk.php.net install packages work, but buttons are missing any text (and maybe more than just buttons). In other words, it doesn't work. Am I missing something super-obvious here,or ?
View Replies !
My Php Installation
I installed the php-4.4.7-Win32 and apache_2.2.6-win32-x86-openssl-0.9.8e manually. Apache can work well, but when use the test.php, which is located in C:Apachehtdocs, I get the following error: erroe 403: Forbidden You don't have permission to access /php/php.exe/test.php on this server.
View Replies !
DLL Installation
I develop one astrological site,i use some DLL's like 'Swiss Ephemeris',my problem is how to use this DLL in my PHP program where i store this DLL file in my webserver.
View Replies !
5 / IIS 5.1 Installation
I have been using PHP5 on my Apple, but now I also have a Windows XP and I'm having trouble completing the install. I did a manual install and followed the directions from http://us3.php.net/manual/en/install.windows.manual.php. I am installing using the CGI binary rather than the ISAPI module. The one step I couldn't figure out how to do is: Code:
View Replies !
Installation On MAC
offer an opinion on the best way to install PHP locally on my Mac OSx (10.4.6).I am currently working with a company who only have macs and I need to develop a PHP website. I want to be able to test my website locally alongside a MySQL database what's the easiest and most efficiant way to do this.
View Replies !
5 Installation
can anybody give me step by step instruction for php 5 installation or any link in windows XP. i am using apache 2.
View Replies !
PWS Installation
I used the easy windows install for php after i got my pws installed in win98. I had trouble saving files, but figured that out. Then, I got an error message, and figured out it was cause i needed to have execute clicked. So that was settled. Then I was getting a "The page cannot be displayed" error. So I looked around, and I think here I read about someone who was having the same problem, but did the regedit thing and it worked. I did the regedit thing, rebooted, and it still doesn't work. If I go through with http://localhost.. it gives me that 'the page cannot..' error. If i double click a php file, a blank IE page opens.
View Replies !
NT Installation (with IIS4)
After installing PHP on an NT we are having a few problems. First we can't seem to pull up files with the extension .html but the same files will work using the extension .phtml Is this normal for NT use? No big deal if so. Second, and most important, (in a PHP program that does work on another server) I am getting the following error from pages that use ' if ($submit) '. ************************** Warning: Undefined variable: submit in includes/product.inc on line 20 ************************** The program does work correctly, it just gives this warning. What have we missed? Oh yea, we are also getting warnings referring to variables used in an email() at the end of the entire site. But the variables are coming through with the email.
View Replies !
XML Parser Installation
I am using RH 7.1 with Php4.1.0 and Apache 1.3.22 .... I have installed libxml and zlib also configured php with dom support. now problem is that when i try to open xml file it gives following error: Fatal error: Call to undefined function: xmldocfile() in /development/test.php on line 19 any idea where is the problem ?
View Replies !
Installation Problem - 4.3.0 - 4
I've tried installing php 4.3.0 and .4 and keep getting the same problem. When I 'make' the install I end up with an error: /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:22:19: httpd.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:23:25: http_config.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:33:23: http_core.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:34:23: http_main.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:35:27: http_protocol.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:36:26: http_request.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:37:25: http_log.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:38:25: util_script.h: No such file or directory make: *** [sapi/apache/sapi_apache.lo] Error 1
View Replies !
PhpMyAdmin Installation
I am trying to install phpMyAdmin 2.8.2 and have a question about config.inc.php. Is it necessary to include all of the $cfg fields in config.default.php, or is it ok to just have whichever fields I explicitly need customized, such as $cfg['Servers'][$i]['auth_type']? I am not clear on whether there are any security risks by not explicitly stating every field in config.default.php in my actual config.inc.php and whether or not the program will know to default to variables I don't state, even though everything seems to work fine without all of this info. I could not find this info anywhere in the phpMyAdmin documentation, which talks about setup.php but doesn't clarify if I need every field.
View Replies !
Installation Debugging
1)I get startup error messages: "Unable to load dynamic library c:phpphp_curl.dll - the specified file cannot be found" although the file is very much there at exactly that location Not only for this file but for many extension files like php_mysql.dll, php_oracle.dll, php_mssql.dll, php_exif.dll etc. 2)the extensions_dir setting is "c:php" without an ending backslash. 3)The php.ini file is residing at c:php 4)The php.ini file in c:windows has all extensions disabled so it does not look as though that php.ini file is the source of the messages 5)There is a extension entry for php_win32api.dll which also gives a not found error. Is it the older version of php_win32std.dll, php_win32service.dll and php_win32scheduler.dll files which are present but their names are not there by default in the php.ini ? ************************************************** ************************************************ 6)How do I debug PHP like you can debug Java in Eclipse or NetBeans and C/C++ in MS Visual Studio - with breakpoints and stepping? ************************************************** ************************************************ 7)database access through odbc works. 8)How do I install PHP as both a CGI extension under Apache 2.0.5x and as a module (php5apache2.dll with a LoadModule in httpd.conf) - Apd which is a part of PEAR requires that php be installed as a CGI binary - is apd good for interactive debugging?
View Replies !
PHP Installation - IE Does Not Display Anything
I downloaded PHP 4.3.4 version from the PHP website, (Windows Installer). I configured IIS on the Windows XP Professional. I installed the PHP. But when i run the sample script <? php phpinfo(); ?>, IE does not display anything. Is there anything i have to do other than simply installing PHP.
View Replies !
Installation Tutorial
I'm having trouble with my windows PHP/MySQL. I have a few years experience with ColdFusion, so I'll do OK once I get the basics figured out. I ran the windows installer. I believe I have 4.3 installed. I've run through some of the kindergarten tutorials. But now I get to the tutorial on Creating a PHP login script and it's assuming I know all kinds of things like how to create a frigging batabase in the MySQL that I installed. It doesn't appear there's a user interface for MySQL built in, so I installed MyAdmin. But I can't seem to configure that. This tutorial tells me to put in my username, pw, dbhost, and db name. I have no idea where to start!
View Replies !
PHP4 Installation
I have installed PHP4 many times with no problems, but this time im stuck. The system is Windows XP Pro SP1, it was just installed fresh. Web server software is Visnetic WebSite Pro, Latest build. PHP v4.3.2. Everything installs fine as far as i can tell and I setup all the needed settings in the web server. When ever I try to use PHP files on my server all I get is internet explorer saying the page cannot be displayed. I dont understand what I have done wrong, its the same setup I always use, same for the settings.
View Replies !
Oracle Installation
I have install the Oracle on remote machine and write a simple code to connect with remote machine...but i 'm not able to get wht setting we have to do in php to run for Oracle..i got some drafts from internet...i uncomment the extension in php.ini (php_oci8.dll) then copy this .dll to extension_dir path of php.ini...and then copy the oci.dll and php_oci8.dll to windows/system...when i run apache shows warning... "Unable to load dynamic library ‘D:PHPextensions/php_oci8.dll’ – The specified procedure could not be found."
View Replies !
Standalone PHP Installation
I have never installed PHP before. It's always been set up for me. I have a client whose site is hosted as a virtual server. I'm trying to set up ecom for him, but the mhash library is not installed. So I use fopen to open a script on my website that hashes the variables. Obviously, this is not ideal because if my site goes down his ecom will too. I asked the tech people at his hosting company to set that up, but they said they don't do custom compilations. "As per compiling PHP with --with-mhash=[DIR] this is how that works: any custom compilations, custom applications, etc. are up to the user to compile and install. Use gcc/etc. to compile PHP with the options that you like. The php.ini in /etc is available for your customization as well. If you compile your own binary of PHP, you can place it where you like (or leave it at the default) and get the paths updated to use it, or you can obviously use it directly if necessary." I was planning on compiling a new, minimalist version of PHP (with just mhash) in a different directory, but I'm hesitant to do it in case I get unexpected results (I don't want to take the rest of his site down). Can anyone tell me if this sounds feasible? What kind of pitfalls can I expect? And can anyone recommend a tutorial? Most of the tutorials I've found assume you have root access and/or are compiling PHP/Apache together. I was also wondering if it would be possible to just compile the mhash library and add it to php.ini? That seems to be the simplest thing, though I don't know if it would work...
View Replies !
GD Installation Problem
I'm haveing some problems I'm trying to generate bar charts dynamically by pulling data from an MS Access databasae using an ODBC connection and then generating the bar charts, this is all on WinXP Pro by the way. I have no problems with getting the data out of the database and sorting it. I was using this tutorial http://www.phpbuilder.com/columns/w...er20001218.php3 as a guidline to generating the images, but nothing seems to be working for me. My problem is that I cannot generate any images using any of the GD image functions. I have loaded the php_gd2.dll in the php.ini file and I can see that the dll is loaded when I do a phpinfo(); the probelm is that none of the pages are generating any images.
View Replies !
Soap Installation
can anybody help me to implement soap into my system?..i think this is the answer to my problem but i really dont know how to do it..ive been reading about it but i really cant understand it..
View Replies !
PHP Installation With Pgsql
I got PostgreSQL installed and now I'm trying to get PHP installed too. I do ./configure --with-pgsql and everything works fine. But when I do make, I get this error: ext/mysql/libmysql/my_lib.o(.text+0x37a): In function `my_dir': /home/marc/extract/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno' ext/mysql/libmysql/my_lib.o(.text+0x546): In function `my_stat': /home/marc/extract/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno' ext/mysql/libmysql/my_tempnam.o(.text+0x79):/home/marc/extract/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 I need php installed soon. I don't know what is causing this error to occur.
View Replies !
Problem With A New Installation
After months of waiting for Redhat to come out with up to date rpms, I decided to compile a working OpenSSL/ MySQL / PHP / httpd installation for myself. Installed the latest versions of mcrypt and mhash, followed by openssl and mysql (version 4.0.13) - all from source. Configured httpd with : ./configure --enable-so --enable-cgi --enable-vhost-alias --enable-suexec --enable-info --enable-ssl --enable-cgid --with-ssl=/usr/local/ssl Then compiled PHP as : ./configure --with-mcrypt=/usr/local/lib/libmcrypt --with-mhash=/usr/local/lib/libmhash/ --prefix=/usr/local/php --with-apache2=../../apache/httpd-2.0.47 --with-mysql=/usr/local/mysql --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --localstatedir=/var --mandir=/usr/share/man --sysconfdir=/etc --infodir=/usr/local/php/share/info --with-apxs2=/usr/local/apache2/bin/apxs --enable-mbstring --with-gettext --with-zlib --with-gd --enable-discard-path --enable-ftp --with-curl --with-pear --with-jpeg-dir --with-png-dir --enable-force-cgi-redirect --enable-debugger --with-openssl=/usr/local/ssl/ Now after going through some configuration, I find that I cannot seem to browse any SSL (https) links on a website that I was developing (which worked perfectly with what I had earlier). I know this is probably not enough info for you to help me, but since I did this for the first time, I am not sure what is relevant to my problems and what is not.
View Replies !
Fileinfo Installation
I am trying to install the Fileinfo pecl extension, on CentOS 4.5, with php 5.2.3. After running the following command I get: [root@host ~]# pecl install fileinfo downloading Fileinfo-1.0.4.tgz ... Starting to download Fileinfo-1.0.4.tgz (5,835 bytes) ......done: 5,835 bytes 3 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 /usr/local/bin/phpize: /tmp/pear/cache/Fileinfo-1.0.4/build/shtool: / bin/sh: bad interpreter: Permission denied Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable is set correctly and then rerun this script. ERROR: `phpize' failed
View Replies !
PHP Installation Problem.
I had installed Apache2 and it working correctly. Then, I download PHP5 and do the installion. Toward the end of the installation process, it said something about httpd.conf. I then read the installation guide and I still could not figure out to make PHP to work. Can someone tell me where to fix this problem?
View Replies !
Installation Question
I'm using Windows Server 2000 with Apache with a secondary hard drive which will contain the http information. Does php have to be installed in the http drive or the root windows directory?
View Replies !
Xampp Installation
I installed basic xampp with the installer from http://www.apachefriends.org/en/xampp-windows.html#524. When I started Apache from the panel, I got a window with the error message: This application has failed to start because php_mbstring.dll was not found. Re-installing ... I tried to re-install but it did not help. I found in the web references to this problem but everything that they suggest is already correct at my php.ini: definition of extension_dir and php_exif.dll appears after mbstring. In the control-panel - the status of Apache is running and the start button was replaced by a stop button.
View Replies !
Installation Problem
Trying to install cgi PHP 4.3.4 on my win98 computer, I am stuck. When applying php.exe to a file test.php containing '<?php phpinfo();?>' via the command line, it produces the desired result. But when I try to access the same script via the browser (IE5), it just shows "No input file specified." I am using a simple python script as webserver (using a slightly modified version of CGIHTTPRequestHandler.py), which calls 'php test.php ""' and does not detect any error. I also tried Xitami, which gives the same result ("No input file specified.").
View Replies !
Database Installation
I am trying ti install my DB, but keep getting a parse error unexpected T_String on line 22. I have used the same method to install another DB with no problems. I think I just need another set of eyes. Code:
View Replies !
Installation On Suse9.1
I have a problem to install php-4.3.6 from the tarball to a SuSE9.1 apache2 system. compilation at all works fine. But if I like to do make install I got a failure: /etc/apach2/httpd2-prefork.conf not found What does this mean? Where could I found an example of this config file.
View Replies !
|