Apache Installation Path With Semicolon - Issue In PHP Configuration In Windows 2k3 Server
I am customizing and bundling the Apache 2.0.59 & PHP 4 instances with
my application.
When I install Apache in Windows 2003 Server R2 system under a path
contains a semicolon character, for example, "C:/my; applications/
webserver/" path, I am getting issues. I am installaing Apache as a
Windows Service under Local System Account and while starting the...
View Complete Forum Thread with Replies
Related Forum Messages:
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 !
Apache Server Configuration Problem
I am running the php applications on my systems apache server I will access http://localhost/application/pagename.php Assume that my system name is testuser I am not able to access the same from other system in the intranet or from my browser by using the following url http://testuser/application/pagename.php What configuration I have to made in the apache server
View Replies !
PHP Installation For Windows Server 2003
I'm having an issue installing PHP4 on my IIS 6.0 server. I am using the installer and am told that PHP 4.3.3 has been installed successfully but get the following error. "Due to missing OCX control on your systems, the installation Wizard is unable to configure your web server. However, PHP has been successfully installed, and all you need to do now is manually configure the web server as described in the install.txt file which can be found in your php installation directory." I manually configure for IIS 4.0 or greater and continue to get a "The page cannot be found - 404" error when accessing anything with a php extension? I have defined all the neccessary permissions for the dir. etc but still have an issue with the above error. I'm a first time installer on this platform so does anyone either (a) have a theory as to why this doesn't work or (b) have a solution that they have found.
View Replies !
Passing A Value (eg Id) From A Apache Server To A Windows Server
I am trying to pass an Id from one server to another. The case is like this I have two scripts one in php and the other in asp. I am trying to combine the both together by passing an Id from php script to an asp script. The problems come on the client side because the information is on two different servers. Is there a way around this? Can this be accomplished?
View Replies !
Mhash Functions For My Windows Apache Development Server
I'm trying to set up a web page for credit card transactions and baffled trying to find a download for mhash functions for my windows apache development server. The real server supports mhash but I can't test it on my localhost system. php.net points me to http://pecl.php.net/packages.php where I don't see it in plain english, googling around it looks like this may be it: http://sourceforge.net/forum/forum.php?forum_id=585348 but it's short on giving me a clue.
View Replies !
Mysql_connect Error Apache Web Server To Windows Hosted Database
I've got MySQL 5.0.21 running on Windows Server 2003, and php running on Apache on a Linux box (Fedora Core 4). Previously when the pages were running on an IIS server the connection was succesful, now I get: Can't connect to MySQL server on 'SERVER' (13) I'm connecting using: $db = mysql_connect("SERVER", "USER", "PASSWORD") or die("Could not connect to database: ".mysql_error()); mysql_select_db("DATABASE", $db) or die("Could not select database: ".mysql_error()); However from the linux box I can connect no problems using: mysql --host=SERVER -u USER -p
View Replies !
PEAR Installation / Configuration
Hi, perhaps some php guru can shed some lite to my limited knowledge. My PHP installation directory is in: c:appsphpphp4 cli/ dlls/ extensions/ mibs/ openssl/ .... go-pear.bat .... I execute go-pear.bat and fill out the path entry: 1. Installation Prefix: c:appsphppear -- I change this! 2. Binaries directory: $prefix 3. PHP Coded directory($php_dir): $prefixpear 4. Documentation base directory: $php_dirdocs 5. Data base directory: $php_dirdata 6. Test base directory: $php_dir ests 7. php.exe path: $c:appsphpphp4cliphp.exe All installed OK. Did run PEAR_ENV.reg. Did add "c:appsphppearpear" in PHP.INI's include_path Then I cd to c:appsphppear ... There are no pear.bat but pear.bat_old There are pear.ini (???) How do I test this if my installation is working.
View Replies !
Phpinfo() - Configuration File (php.ini) Path
Not really an important question, but does anyone happen to know how to modify the path displayed in the [Configuration File (php.ini) Path] section from phpinfo()? I was referred to the following URL, but that doesn't seem to do it: http://us3.php.net/manual/en/configuration.php
View Replies !
Php Configuration - Include Path Problem
I've got a php script located at : http://localhost/browse/script.php This script is "URL-rewrited" as http://localhost/welcome.htm This script includes other scripts with the following code : <?php include("../inc/connect.php") ; .... ?> When I directly type : http://localhost/browse/script.php => it works As when I go to : http://localhost/welcome.htm => Error could not find "../inc/connect.php" !! I've just changed my apache/php/mysql conf (and unfortunately lost the one I had before) : I switched to xampp. This script used to work perfectly before :-( !!! I do understand that paths are different for the client code but I don't understand why it could be the same with server code ! I suspect Apache / Php conf to be the cause of my problem... but I can't find out !
View Replies !
Windows Configuration
I have experienced problems getting the PHP 4.0.4pl1 [735Kb] CGI only version to work properly with PWS running on Windows 98. I downloaded the PHP 4.0.4pl1 [3.737Kb] CGI binary plus server API version and got that to operate fine, so far. However, I read that this version is not as stable as the CGI only version.
View Replies !
Help For Installation?! Path-Errors (marketplus)
I've just tried to install the marketplus script on my Win2K computer. PHP and mySQL are working fine. As server I use the IIS. also the database is working without any probs. but when I go to the index.php of the shop-script, there are certain errors: Warning: Failed opening 'http://localhost/market/config/debug.php' for inclusion (include_path='') in C:Inetpubwwwrootmarketapplication.php on line 25 Warning: Failed opening 'http://localhost/market/config/db.php' for inclusion (include_path='') in C:Inetpubwwwrootmarketapplication.php on line 27 Fatal error: Failed opening required 'http://localhost/market/lib/stdlib.php' (include_path='') in C:Inetpubwwwrootmarketapplication.php on line 31 I have those path-definitions in my application.php: Code:
View Replies !
PHP/Apache Configuration
I'm still can't get Apache to restart after changing the httpd config file. I've upgraded my installation to 5.2. Apache 2.2.3 runs fine without any PHP additions. 1) I added my PHP directory, C:/PHP5, to my PATH 2) I copied php.ini-recommended to my C:/windows directory and renamed it php.ini 3) I made the following changes to PHP.ini doc_root = "c:/inetpub/wwwroot" extension_dir = "c:/php5/ext" 4) I made the following changes to Httpd.conf After the last entry in the LoadModule section: LoadModule php5_module "c:/php5/php5apache.dll" AddModule mod_php5.c If I comment out the above two statemens, Apache will start. In the <IfModule mime_moduleSection, I added AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" And that's it. When I restart Apache, I get an error dialog with the message: The requested operation has failed. What have I missed or done wrong?
View Replies !
Apache Configuration
I am absolutely new to PHP, highly motivated, but already stuck with a problem in the adjustments in the configuration file. I follow the plan laid out in the new Blog Design Solutions book, pp. 33-8 and have downloaded the newest version of both PHP and Apache - 2.2. Here's the problem: Apache cannot load the php5apache2.dll file into the server. In the conf file, line 116, it states; LoadModule php5_module C:/php5/php5apache2.dll and yes, php5 is placed at C:/.
View Replies !
404 Issue On PHP Installation On Win 2003
I have installed php 5.2.2 on our new server having win 2003 as OS. I have uncommented cgi.force_redirect in php.ini and set its value to 0. I have checked Inetmgr for extension mapping and its proper. Now when i run a php script, IIS issues 404 error. I have checked the file names, locations and similar stuff. but still 404. I could not trace out where the clash is....
View Replies !
Apache Configuration Tutorial
I have previously installed apache mysql and php. I need to do this again but all the tutorials do not cover the configuration of apache. Can anyone tell me where the old tutorial may happen to be?
View Replies !
Need One Urgent Help With Configuration Of Php With Apache!
I have successfully installed Apache “apache_2.0.54-win32-x86-no_ssl” and copied “php-5.1.0RC1-Win32” to c: with php name. Now made environment variable with “C:php” and copied php.ini recommended file in c:windows with php.ini name. Till now every thing is working fine means server is running but whenever I add module in https file under conf directory then that got unavailable. I don’t know why server is unable to load php and specified dll. Here I have Win XP and firewalled enabled.
View Replies !
MySQL, PHP, And Apache Configuration.
Hi, I was just wondering if anyone could help me to configure my home machine to run as a test server for PHP using MySQL and Apache. I am running WinXP pro and I would really appreciate some help. (I'm trying to learn PHP before paying the moola for a host, only to make a fool of myself while trying to learn PHP. I don't see any logic in paying for time to learn, when I could do it for free at home and then pay for a host...) I would be very thankful if you would imagine that I had just downloaded the files from their appropriate sites, and haven't even opened them yet. A walkthrough of the installation etc... The main part I've been having trouble with is editing the httpd.conf file for Apache;
View Replies !
Apache/PHP Sendmail Configuration
I have a standalone machine running Mandrake 10 with apache server and PHP installed. The PHP mail() function is working but very slowly. It takes about 10-20 seconds to send a single email. Can anyone advise me on what could be causing this? I have tried using mail() on other apache setups and the response time has been much faster. Below is the relevant section from my php.ini: php.ini ======= [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = me@localhost.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path =
View Replies !
Apache/ Configuration Problems
Everytime I put the link to my file into my browser, this pops up. Not Found The requested URL /hello.php was not found on this server. What does this mean, and how do I fix it?
View Replies !
Making Apache To 'reload' Its Configuration
I am having problems making Apache reload itself. I have tried a PHP exec calling a bash shell script that does a KILL -HUP on Apache to attempt to make it reload its configuration. The signal in the shell script works fine from root but will not work when called from PHP. Is there anyway to make Apache reload itself from PHP without having to doing a signal ? I am trying to do a configuration reload without requiring root.
View Replies !
OpenLDAP, Apache 1.3.31 And PHP 4.4.2 Configuration Problem
PHP is working fine with APACHE 1.3.31 on windows 2000 professional..now i tried to install LDAP support performed following steps: 1. Uncomment following entries in php.ini extension = php_ldap.dll extension = php_gettext.dll 2. Copy php_ldap.dll to WINNTsystem32 3. Copy files libeay32.dll and ssleay.dll to SYSTEM folder 4. Restart APACHE. now when i tried to execute sample LDAP script it gives me following error: Fatal error: Call to undefined function: ldap_connect() in c:program filesapache groupapachehtdocsldapchek.php on line 7 I guess LDAP support is not installed yet. so can anyone help me out?
View Replies !
Change In The Apache Configuration File.
I've decided to quit doing my web site in ASP and go to PHP. So I downloaded Apache and all that. Apparently it is all working correctly. I could use a tutorial to help get me familiar with the workings of the server for testing scripts. Also, is there anything I need to change in the apache configuration file.
View Replies !
PHP Extension Installation On Windows
If you were to install a PHP extension on Windows, in what form would you want the installation to be? Would you want a graphical installer such as InstallShield or MS Windows Installer? Or would regular copying into ext directory and doing automake stuff do (make install, etc.) suffice or in fact be more fitting?
View Replies !
Php4 With Apache On Macosx: Configuration Question
I have MacOS X 10.3 (not the server edition), which includes apache and php4. But php hasn't been compiled --with-gd, and I need it, so I downloaded the source (4.3.4) and configured it with options '--with-zlib-dir=/usr/local' '--with-libjpeg=/sw' '--with-libtiff=/sw' '--with-libpng' '--with-png-dir=/sw' '--with-gd' '--with-mysql=/usr/local/mysql' '--with-xml' '--with-dom=/sw' '--enable-cli'. After make && make install, I've got my new php in /usr/local/bin, which I can use from the CLI. But how do I get apache to use this version of php instead of the one bundled with MacOS? I guess (though I don't know anything much about httpd.conf) that I should put something like LoadModule php4_module /path/to/new/libphp4.so in httpd.conf but I can't find any libphp4.so anywhere (apart from the old one in /usr/libexec).
View Replies !
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 !
Prob In PhpMyAdmin On IIS Installation On Windows XP
I have PHP installed on a Windows XP platform using IIS as server. When updating a MySQL database field set to MEDIUMTEXT in phpMyAdmin, the transaction seems to fail if the text contains more than a few hundred characters. The update is actually made successfully, but afterwards, the server cannot locate the phpMyAdmin page as requested by the client browser. I get a "Page cannot be found" error. Clicking on Update from the browser clears the problem. Anyone know what's causing the problem? Potential sources of the problem could be with the driver for MySQL, with the IIS settings, or with the phpMyAdmin settings. I suspect IIS.
View Replies !
MySQL/Windows Installation Question...
Just upgraded MySQL on my development machine to 4.1 and get the familiar error "Client does not support authentication protocol...". A bit of Googling learns this is expected behaviour and all clients in use should be instructed to use the new protocol (including PHP). However, on none of the hosts used for hosting client sites this has ever been a problem yet (most still use 3.23...) and I don't want to be obliged to change things everytime I move a finished site from my machine to the clients host, so I prefer to stick with using the old password. This is possible: the documentation tells me to just start the service with 'mysqld --old-passwords' as option. However, as per the registry, MySQL starts automatically as a service when windoze starts. Without this option. Now every restart of the machine I can stop the freshly started mysqld service and start it again with the --old-passwords option but it should be possible to do this leaving the appropriate info in the registry. Anybody 'been there, done that'? Where to put what in the registry with this effect?
View Replies !
Path Issue?
I have a file named Snoopy.class.php on my hosted web server in a directory called d:homeABC.COMlogwp-contentplugins A file named dahnielson_mimetex.php references it. However, when dahnielson_mimetex.php tries to reference the Snoopy file, I get these types of errors: Warning: main() [function.include]: Failed opening './Snoopy.class.php' for inclusion (include_path='.;C:php5pear') in d:homeABC.COMlogwp-contentpluginsdahnielson_mimetex.php on line 34
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 !
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 Replies !
PHP5 Installation With MySQL, Windows 2000
Why I still have "undefined function error" messages? I included path c:php to my windows env. Edited php.ini file: include directory value. removed comment mark from extension=php_mysql.dll copied libmysql.dll to system32 directory Apache2 runs fine. I can run phpinfo.php I can create a database into the MySQL.
View Replies !
Directory Path Issue
I have one php application that uses server path like /var/www/ direcory in queries and also while calling files etc, and uses __FILE__ to fetch the path. I have installed apache on Windows XP and when I try to runs the application locally, script results in C:apachehtdocsestapp index.php and here application stops working....
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 !
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 !
Virtual Include Path Issue
I have a problem including a file where there should be no problem whatsoever: I have the following structure /home/blast/test/ -> Mapped to virtual directory So when i type in http://test.example.ie/ i get /home/blast/test/ Now in the /home/blast/test/ directory i have a file called index.php and process_login.php I am calling process_login.php from index.php The problem is process_login.php needs to include a file in home/blast/test/includes/ I have entered the following code in process_login.php Code:
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 !
Path Question With Windows And PHP
Could anyone give an example of how to use paths in a PHP-script on a Windows server. I have a location that is like this: c:Inetpubwwwrootwebsiteexampledirectory Localhost is at: c:Inetpubwwwroot At the exampledirectory location I would like to create directories and upload files. I think I have the correct permissions, but I can't seem to get it to work. So I'm thinking maybe my paths are wrong. Could someone please tell me how I could use for example mkdir(string pathname) to get this to work.
View Replies !
|