IIS - Make PHP Run With .html Extension
I know nothing about IIS as I ormally use Linux / Apache so I'm not sure this is possible.
I have built a site in PHP that the client now wants to move over to a IIS-hosted server. Although it's all in PHP because it was a re-build of an old static site I used ModRewrite to make all the page .html.
I know IIS doesn't have a URL rewrite feature as such. What I was wondering is, is it possible to configure IIS so that a PHP page can have a .html extension?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Loading Php Extension Dynamically
I realize the title isn't clear enough, but that's the closes to my question What I basically want to know is if its possible to add pgql support for PHP without rebuilding PHP (running easyapache). Currently all standalone phppgadmin instaces return: Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option. Is it possible to load the pgsql extension without rebuilding, like you'd do with zend for example.
View Replies!
View Related
Installing PHP RAR Extension
I wanted to install PHP RAR extension: to compress & decompress rar files. I installed it on the server & added the extension=rar.so to php.ini files. But still, when I run a rar function like rar_open(), I get an error : Fatal error: Call to undefined function rar_open() I tried installing the extension again through SSH, but it says "Nothing to Install".
View Replies!
View Related
Mod_rewrite Strip Off Php Extension
I am trying to figure out how to use mod_rewrite to make my php url's friendly. I have read a few articles but none seem to do what I want. Here is what I want: /login.php -> /login /home.php -> /home /users/update_profile.php -> /users/update_profile /users/update_profile.php?id=343242 -> /users/update_profile/343242 Basically just strip off the .php extension, so it seems like php files are actually folders.
View Replies!
View Related
GD Library & PHP Mbstring Extension
I install drupal and i get this errors: 1. GD libraryNot installed The GD library for PHP is missing or outdated. Please check the PHP image documentation for information on how to correct this. 2. Unicode libraryStandard PHP Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support. I have on my server: Package gd-2.0.33-9.4.el5_1.1.x86_64 already installed and latest version Package gd-2.0.33-9.4.el5_1.1.i386 already installed and latest version but i don`t know why drupal say to me it`s not installed. Need to active the GD Library? How can i fix the problem with php mbstring and GD Library? I run the yum commands: yum install gd yum install php-gd yum install php-mbstring It`s not working! :| The os is centos 5.3 64. I have cPanel too.
View Replies!
View Related
Make IIS Inherit Visitors Permissions (Intranet)
I've built an intranet in PHP and configured IIS so it will run as the user that visits the site. The company then has a fileserver that they wan't to list the files from depending on what rights you have on your user. I've done the: "Integrated Windows Authenitcation", and removed "Anonymous access" -step. When I debuged the fileservers logs it says that when I'm logged on from the intranet-webserver it tries to access the fileserver as my user, when I change to another machine it goes for a anonymous-account. I thought the "Anonymous-access"-checkbox I removed removed that?
View Replies!
View Related
Compiling PHP Zip Extension Onto A Mac That Has MAMP Pro
compiling the zip extension for my MAMP installation. I used this tutorial here (using phpize): [url] All is well.. but when I run make test it gives me this: Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/imap.so' - (null) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/yaz.so' - (null) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/mcrypt.so' - (null) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/gettext.so' - (null) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/pgsql.so' - (null) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_pgsql.so' - (null) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_mysql.so' - (null) in Unknown on line 0 Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0 Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0 Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/imap.so' - (null) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/yaz.so' - (null) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/mcrypt.so' - (null) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/gettext.so' - (null) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/pgsql.so' - (null) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_pgsql.so' - (null) in Unknown on line 0 Warning: PHP Startup: Unable to load dynamic library 'modules/pdo_mysql.so' - (null) in Unknown on line 0 Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0 Warning: PHP Startup: Invalid library (maybe not a PHP library) 'zip.so' in Unknown on line 0 So, from what I see there are two problems: 1. compiling the zip.so fails... 2. Some directories are wrongly set, because my extension .so files reside in /mamp/bin/php5/lib/php/extensions/no-debug-non-zts-20050922/ I see no "modules" in there, so..
View Replies!
View Related
.html Instead .php
I want my server looking and open index.html first and after index.php, I mean if have both index.html and index.php in a folder, the index.html will be open by default . I know it name: DirectoryIndex directive ..
View Replies!
View Related
Why Doesn't .html Override .php
I have a curious problem, and have scoured the net for a solution. Basically, while developing a Joomla site, I have had a standard .html holding page in place. I uploaded the Joomla site in the 'background' to continue developing the website while the holding page was in place. I always thought that .html would always display first in the browser, before index.php. However the index.php file always displays first. I've tried changing the htaccess file etc but at this point nothing seems to be working.
View Replies!
View Related
How To Have .html Treated As .php
I have several websites running on Linux hosting with cPanel, that were developed as static .html files, where for ease of maintenance (use of includes) and future improvements I want the pages treated as .php. On one server I use, I just put: AddHandler application/x-httpd-php .html .shtml into the .htaccess file and the pages were treated as .php, exactly what I wanted. The other sites are on a cPanel reseller account at iVhosting.com. When I tried this there, it didn't work. I tried some other ideas suggested by Google, which resulted in the .php files being downloaded as text files. I contacted iVhosting support, who stated: "you will not be able to do this on our server since we use phpsuexec/suphp for more security. PHP pages have to have .php extension." So what can I do? I can't rename the pages all to .php because this would break incoming links and destroy the page's PR. Creating a permanent redirect for each page to the same name with .php extension would create a very large .htaccess and be extremely tedious to do.
View Replies!
View Related
Php Parsing In Html
I want to use php code in .html extension files. I tried to accomplish this through a .htaccess file, but that did not work out. I tried to add a handler through cpanel, but it does not parse the code in the .html file. I renamed the index file to index.php and works fine. I would like to keep the .html extension. I tried several Handlers through Cpanel which all failed to work. Tried: AddHandler application/x-httpd-php .php .html and AddType application/x-httpd-php .php .html (with and without application/) and AddHandler server-parsed .html
View Replies!
View Related
Php Caching To Html, Any Better Options
Currently I cache php to html in a folder, and any time I upload index.php the whole site recaches. It also is set to a specific time such as 1 day, and the specific page will recache on someone hitting a page in 1 day from last cache. The problem is when there are thousands of people on, and the index.php is uploaded the site crashes due to connections to the database, and possibly writing to the folder as well. What is the best way to cache these files to html, and not have it crash every time I try to update things on the site. Also it needs to be something somewhat simple.
View Replies!
View Related
HTTPS Not Processing .php .html
I've just set up HTTPS on Apache (CentOS). However if I try to access the HTTPS site I just get prompted with the save as dialog to download either the .php file or .html. How do I get it to show (and process) it instead, like when accessing normally (non-ssl).
View Replies!
View Related
Include .html Into .php (PLESK)
I have a server running PLESK 8.2 (latest version). With PHP4 and 5 support. I want to include .php files into .html (which work fine on LINUX CPANEL but on on WINDOWS PLESK). Please can anyone suggest how can i make my WINDOWS server work so that it includes .php into .html. (.php included in .php works fine). ALSO i tried to add (application/x-httpd-php in IIS MIME TYPES to extension .html and even .php but it did not work.)
View Replies!
View Related
PHP Vs HTML Vs SHTML Benchmarks
I'm building website for big number of visitors and I'd like to know what is the best way to do such a website. 1. PHP/MySQL. Pages are created by query (on the fly). 2. HTML. Pages created and placed on server's HDD as plain .html files. 3. SHTML. Pages are created by query (on the fly), but from 3 HTML parts (one header for all files, unique body, one bottom for all files). So, I can save some HDD space. I'm looking for some kind of benchmark. I'd like to know what is CPU load and memory usage difference between this methods.
View Replies!
View Related
Hacker Adds Malicious Code To All Html And Php Files
we have been having a strange hacking problem on our server that we can not seem to find how they are managing to accompish. I am just wondering if anyone here may be able to offer any suggestions on this? The problem: On our server, a hacker has managed to add malicious code to all html and php files on two hosting accounts that we operate. These two accounts are seperate and do not share login information. This is the 2nd time this has happened within the past two weeks. Originally it was suspected that we needed to add SuPhp to prevent insecure permissions. This has been done, yet the problem continues. On all html pages, malicious javascript has been added, and on all php files malicious php code has been added. We have a lot of accounts on this server, and as mentioned only the two accounts seem to have been affected by this. What we have done to attempt to secure the server: 1) We have installed SuPhp. 2) We have ensured that all scripts on the affected websites are updated and running the latest versions. 3) We have changed all the passwords. Our server is a managed server, and our server company has been very helpful, however at the moment can not seem to pinpoint the problem. There also does not appear to be any indication via the access logs of the infected files being altered, yet they have been altered. The computers used to access these websites are clean, and do not have any malware running, which would allow a hacker to obtain any passwords. It also does not appear that the hacker was able to obtain root access. One other thing I noticed, we run Kayako on one of the sites. When this problem occurs we receive a message that Zend Optimizer is not installed on our server when attempting to login to Kayako, when in fact it is. Searching Google, I found the following link on the Zend site in which the symptoms seem to be very similar. What are the odds this could be a Zend vulnerabilty? [url]
View Replies!
View Related
Make Php Nonexecutable In A Directory
I have an upload feature in my site.. On upload i check the file extention of the uploaded file.. But recently a person uploaded a file like xx.php.jar and as the extention is jar it got uploaded.. But when we go to the file through url it gets executed as php... So any solution how can i stop execution of php files in my upload directory
View Replies!
View Related
Unable To Make Changes To Php.ini
i'm trying to configure PHP, as I really need to turn magic quotes off and raise the memory limit. i don't want to use .htaccess - too many sites I got plesk 8.2.1, php5.1 well, to make it short, I ran 'phpinfo()' to see where php.ini was: etc/php.ini I change that, restart httpd, nothing happens. restart the server, nothing still. my changes are not applied when I run 'phpinfo()' again. i try 'locate php.ini' from the terminal, there are a few! /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/conf/php.ini.def /usr/local/sitebuilder/php.ini /etc/php.ini /etc/php.ini. /etc/php.ini.saved_by_psa /etc/php.ini.rpmsave ... plus some in the opt folder (that should be just the cache, uh?) the problem is that I tried to open all of them, to see where the hell php was getting the settings from, but none of them seem to reflect php's settings. meaning, I don't know what file I can use to configure PHP. all of them, for instance, say 'memory_limit: 32M', but php is set at 8M, and phpinfo() tells me memory_limit 8M. any idea why this might be happening? does Plesk have some tool to configure PHP that makes PHP ignore my changes?
View Replies!
View Related
PHP And IIS
I am trying to get my own web server started and eventually want to use a MySQL database with it. Right now however, I am trying to get PHP to work. I am following this tutorial. I am trying the example on this page. I can see everything except where the date should be (It just says "Today's Date (according to this Web server) is" and then nothing). Does anyone know why this would be happening? I installed PHP with the .msi installer from thier website and i enabled scripts in IIS and there is a .php app mapping in the Application Config section in IIS. This may help, when I put the adress for the specific PHP file, it gives an error that the "Specified Module was not found".
View Replies!
View Related
IIS PHP
I had PHP4 working fine in IIS as a ISAPI DLL. I needed to have PHP5 for a script I was trying to use, so I decided to try to have a go at running PHP4 and PHP5 at the same time. I renamed C:PHP to C:PHP4 and extracted the PHP 5.2.1 zip to C:PHP5. I edited all the application configurations in all the websites for .php to point to C:PHP4sapiphp4isapi.dll and created the new website I wanted to use PHP5 for. In the new website I configured the application and added .php for C:PHP5php5isapi.dll Now if I visit a PHP file on my website I get: The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Please try the following:Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly. If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted. Click the Back button to try another link. HTTP Error 404 - File or directory not found. Internet Information Services (IIS) I have alot of important PHP script running on the server! There is nothing wrong with PHP, because if I run php.exe from the command line with a script to print out Hi it works: C:PHP4>php php.php X-Powered-By: PHP/4.4.6 Content-type: text/html hi C:PHP4>
View Replies!
View Related
Cron: How To Run Php File
My server with cPanel, I'd like run file http://domain.com/file.php at 0h00 everyday, I have set the Cron Job in cPanel : Code: 0 0 * * * /usr/bin/ehpwget http://domain.com/file.php but The cron is not working well Code: /bin/sh: /usr/bin/ehpwget: No such file or directory Can any one please let me know how to run a php file with cron. (as user or root)
View Replies!
View Related
Cron Run Php Scripts
I have my own server. I create php file for adding cronjobs. I checked /etc/cron.deny and /etc/cron.allow. both of them is empty so no problem. I execute the php script but nothing : I check with crontab -u user l and it told me no cronjobs for that user. When I access as root from ssh and try teh same command, it works fine. I don't understand how to fix that.
View Replies!
View Related
Get PHP To Run On Windows Host
I want to get PHP to run on Windows webhost. The webhost is not able to run a simple PHP file with phpinfo() yet. Tech support says I can use .htaccess to get PHP to run. What is the best way to setup PHP on Windows Host so that it can run Joomla?
View Replies!
View Related
How To Run PHP 4 And 5 In Ubuntu Without CGI
When we chose Symfony to implement [url], PHP 5 was needed but we only had PHP 4 installed in our Ubuntu hosting servers. We couldn¡¯t just migrate everyone to PHP 5 since some of client¡¯s applications were incompatible with PHP 5. Some tutorials were found online explaining how to run PHP 4 and PHP 5 simultaneously such as [url] and [url]but they all used CGI. As you probably know, CGI is not scalable and we needed to scale in PHP4 and PHP5 since we needed to server millions of hits in both configurations. The following are additional the requirements we had: 1. Run Apache 2. Use mod_php for both PHP versions. 3. Run eAccelerator with both PHP versions. 4. Use as many Ubuntu packages as possible to ease maintenance issues and easily deploy on multiple servers. 5. Use Ubuntu 6.06.1 LTS The solution we came up with was to run Apache 2 with PHP 5 and run Apache 1 with PHP 4 on separate IPs. Ubuntu comes already with these packages. The only package we had to compile was eAccelerator. The following lists the steps taken to get this setup: Apache 2 with PHP 5 * apt-get install apache2 libapache2-mod-php5 php5 php5-cli php5-curl php5-gd php5-mysql php5-dev make php5-mcrypt php5-imap * vi /etc/php5/cli/php.ini and uncomment extension=mysql.so * vi /etc/apache2/ports.conf and put Listen Your.IP.Goes.Here:80 * a2enmod expires * vi /etc/apache2/conf.d/hosting <VirtualHost *> DocumentRoot /home/httpd/mainpage ServerName mainpage.com ServerAlias www.mainpage.com Options Includes FollowSymlinks AddType application/x-httpd-php .php DirectoryIndex index.php index.html index.htm </VirtualHost># Cache images and javascripts ExpiresActive on ExpiresByType image/gif ¡°access plus 1 week¡± ExpiresByType image/jpeg ¡°access plus 1 week¡± ExpiresByType image/png ¡°access plus 1 week¡± ExpiresByType image/x-icon ¡°access plus 4 week¡± ExpiresByType application/x-javascript ¡°access plus 4 week¡± ExpiresByType application/x-shockwave-flash ¡°access plus 4 week¡± * cd /usr/local/src * wget http://bart.eaccelerator.net/source/...-0.9.5.tar.bz2 * tar xjvf eaccelerator-0.9.5.tar.bz2 * cd eaccelerator-0.9.5/ * phpize5 * ./configure * make * make install * mkdir /var/tmp/{eaccelerator4,eaccelerator5} * chown www-data /var/tmp/eaccelerator* * chmod 700 /var/tmp/eaccelerator* * vi /etc/php5/apache2/php.ini and add the following: zend_extension=¡±/usr/lib/php5/20051025/eaccelerator.so¡± eaccelerator.shm_size=¡±0¡å eaccelerator.cache_dir=¡±/var/tmp/eaccelerator5¡å eaccelerator.enable=¡±1¡å eaccelerator.optimizer=¡±1¡å eaccelerator.check_mtime=¡±1¡å eaccelerator.debug=¡±0¡å eaccelerator.filter=¡±" eaccelerator.shm_max=¡±0¡å eaccelerator.shm_ttl=¡±0¡å eaccelerator.shm_prune_period=¡±0¡å eaccelerator.shm_only=¡±0¡å eaccelerator.compress=¡±1¡å eaccelerator.compress_level=¡±9¡å Apache 1 with PHP 4 * apt-get install libapache-mod-php4 php4-mysql php4-gd apache-ssl apache-common libzzip-0-12 php4-common php4-dev apache * dpkg-reconfigure apache and uncheck mod_userdir and check mod_php4 and cancel on hostname * vi /etc/apache/httpd.conf and make sure to add this Listen Your.SECONDIP.Goes.Here:80 NameVirtualHost *# Cache images and javascripts ExpiresActive on ExpiresByType image/gif ¡°access plus 1 week¡± ExpiresByType image/jpeg ¡°access plus 1 week¡± ExpiresByType image/png ¡°access plus 1 week¡± ExpiresByType image/x-icon ¡°access plus 4 week¡± ExpiresByType application/x-javascript ¡°access plus 4 week¡± ExpiresByType application/x-shockwave-flash ¡°access plus 4 week¡±Remove the following <IfModule mod_alias.c> Alias /icons/ /usr/share/apache/icons/ <Directory /usr/share/apache/icons> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> Alias /images/ /usr/share/images/ <Directory /usr/share/images> Options MultiViews AllowOverride None Order allow,deny Allow from all </Directory> </IfModule> <IfModule mod_alias.c> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory /usr/lib/cgi-bin/> AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> </IfModule> Change <Directory /> Options SymLinksIfOwnerMatch AllowOverride All </Directory> ServerSignature Off ServerTokens Prod * cd /usr/local/src * rm -rf eaccelerator-0.9.5 * tar xjvf eaccelerator-0.9.5.tar.bz2 * cd eaccelerator-0.9.5/ * phpize4 * ./configure ¨Cwith-php-config=/usr/bin/php-config4 * make * make install * vi /etc/php4/apache/php.ini and add the following: zend_extension=¡±/usr/lib/php4/20050606/eaccelerator.so¡± eaccelerator.shm_size=¡±0¡å eaccelerator.cache_dir=¡±/var/tmp/eaccelerator4¡å eaccelerator.enable=¡±1¡å eaccelerator.optimizer=¡±1¡å eaccelerator.check_mtime=¡±1¡å eaccelerator.debug=¡±0¡å eaccelerator.filter=¡±" eaccelerator.shm_max=¡±0¡å eaccelerator.shm_ttl=¡±0¡å eaccelerator.shm_prune_period=¡±0¡å eaccelerator.shm_only=¡±0¡å eaccelerator.compress=¡±1¡å eaccelerator.compress_level=¡±9¡å
View Replies!
View Related
Can't Run PHP Stable With Versions Above 5.0.3
Windows 2003 IIS6 PHP 5.0.3 and PHP 5.2.1 running with the ISAPI dll MySQL 5.1.11 I kind of have 2 problems, the first being the one in the thread title and the second is while running any version of php my main site experiences slowdowns and hangs. For some reason whenever I try to install a new version of PHP I have major problems. I have tried several times when new versions come out. I just recently tried the newest, 5.2.1, which I want to try and use, I think there are performance improvements for IIS and windows platform in the new 5.x versions? Anyway I can install 5.2.1 and get it running, and my sites load, but soon after my main site starts to hang, stops loading or loads extremely slow. I can't figure it out. I even tried using the exact same PHP.ini settings from my old working php install. So everytime I am forced to go back to the latest version that I know works with my server/sites, 5.0.3 [url] If I restart IIS the pages start loading fast again right after, even recycling the worker process that the site uses usualy makes the pages load normal again. I tried setting the worker process to recycle every 60min and to use 2 web gardens. These changes havn't really had any affect for better or worse. Downgrading back to PHP 5.0.3 seems to run a bit more stable, but even with this version I get these slowdowns now. I have been running my site(s) on this server for 3 years now and most of the time they have ran stable. -------------------------------------------------------- I was sleeping this morning and recieved a text-message saying the site wasn't loading. So I wake up and the site indeed was pretty much not loading at all. I look at permon that I left running to see this: [url] I give IIS a restart, which you can see above, then the levels go back to normal, here is a screen shot a couple minites later to what the "Current Connections" graph usualy looks like when the site loads fine. [url] During this slowdown the CPU usage was not maxing out, was maybe averaging 60% and ram was 50%. I am getting a 2nd server soon to off-load the MySQL to it and have it dedicated for that. But i don't think that will help this current issue. Here is the system resources when the site is loading fine: [url] I have around 40 or so other sites hosted on IIS and my main site "canadaka.net" which is purple on the top graph, is the only one that hangs or slowsdown. When this slowdown happens to this site, all the other sites on IIS, which are on a seperate worker process, continue to load fine. I can't figure out why these slowdowns are happening.
View Replies!
View Related
Can't Get PHP 5 Running With IIS
let alone with mysql. Have tried to install those both and have tried endless variations of php settings adn moving php.ini around and checked PATH in IIS adn teh extension .php is enabled. Question: Should php.ini be copied to Windows or Windows/system32 directory? I have a test.php file in my virtual directory. I did have it working at one time but then I installed the extensions so I could have teh mysql extension and it hasn't worked since. I am just a newbie trying to create a testing environment so I can teach myself PHP. I have endless books, have tried the Yanks method but I am not sure it applies to PHP5. I have PHP at c:/program files/php/ is this a problem? Shoud it just be directly in the c directory? Does that matter?
View Replies!
View Related
IIS 7.0 Beta And PHP
I recently purchased "Build your own database driven website using php& mysql" and it describes how to setup php on a computer using the binary download package from php.net. My issue is a rather interesting one. I spend a few hours digging around in php.net's faq, microsoft's knowledgebase and various web locations. I am trying to setup php5isapi.dll as a handler mapping. the directions given are for an older version of IIS and they have changed since then. Is anyone familiar with how this task has changed? I am currently running windows vista ultimate on my machine. The options i have to add under handler mappings are as follows Managed Handler =>Request Path: (text entry box) =>Type: (this is a drop down menu not a browse box) =>Name: (text entry box) tried this, didn't work Script Map => Request path: (text entry box) =>Type: (this is a browse box to locate an executable file) =>Name: (text entry box) tried this one as well, didn't work Module Mapping same three boxes as the managed handler...also didn't work if anyone is familiar with this process *(getting php5isapi.dll mapped for *.php is the only part i can't figure out the changes on) i would greatly appreciate any assistance. As it stands right now, when i run any php file, internet explorer opens a window, closes the window in probably half a second, and then it opens a download file box asking me if i want to open, save or cancel.. if i click open the process repeats, save just copies the file as if it was being downloaded.
View Replies!
View Related
Setting Up IIS For PHP
I've just recieved my copy of Kevin Yanks book "build your own database driven website using php and mysql" and very excitedly installed msql and php last night. As i have IIS i installed that too. Everything so far seems to be going as plan. But i'm only wanting to use IIS for testing. Since i'm a newbie i'm unsure on some secuity aspects. Is it possible to use IIS for testing only, that is, no possibility of anyone else using it to access my computer?
View Replies!
View Related
PHP + IIS + FastCGI
I was wondering whether anyone can help me, I'm having some major performance problems running PHP on IIS using Shane Caraveo's php_fcgi.dll PHP: 5.1.1. IIS: 6 Basically I'm getting to the point where the isapi requests jump rapidly to 400+ requests from a meagre 2 -5 requests. Given the high number of requests this is essentially bringing the server to a standstill. Does anyone have any ideas how I can begin getting to the bottom of this either through network monitoring or application debugging?
View Replies!
View Related
Crontab To Run PHP [without Using Wget And Lynx]
Hello, I don't know how to use crontab to run PHP without using wget and lynx 1) The PHP script can run via SSH command line mode without problem 2) I can use crontab to run the PHP script with wget or lynx. However, 3) The script will not run if i using below entry 1 2 * * * php /path/to/script/crontest.php 1 2 * * * php -q /path/to/script/crontest.php 1 2 * * * php -f /path/to/script/crontest.php 1 2 * * * /usr/local/bin/php - /path/to/script/crontest.php 1 2 * * * /usr/local/bin/php -f /path/to/script/crontest.php 1 2 * * * /usr/local/bin/php -q /path/to/script/crontest.php
View Replies!
View Related
PHP Files In IIS Blocked
I setup php on my IIS in my box and i know i set it up correctly, but each time i reinstall it because of this error i keep getting it. When i try to see any php file on my IIS through a web browser it shows me some login page no matter what kind of php file it is. If its html or asp it works fine like here 66.221.255.17 or 66.221.255.17/index.html but this doesnt work it shows some login 66.221.255.17/index.php and so do all other php files.
View Replies!
View Related
Installing PHP + IIS + MySQL
I want install PHP near IIS and security is important for me. I chose ISAPI is it good? It works but I have problem in using MySQL I did not use PHP.ini for php5+ISAPI and it works how add mysql? to make it useful with MySQL and make secure,
View Replies!
View Related
How Do I Make My PHP Form Script Work On My Fasthost Windows Dedicated Server
We have a Fasthosts Dedicated Windows Server and I now need to run a PHP script to enable us to use a online enquiry form. I have contact Fasthosts and the are not able to advise how to enable/use these scripts as it falls outside the support package. Does anyone know how to enable or make it work in the Matrix Control? The error i get is: The page cannot be displayed You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. Please try the following: * Contact the Web site administrator if you believe this directory should allow execute access. HTTP Error 403.1 - Forbidden: Execute access is denied. Internet Information Services (IIS) Technical Information (for support personnel) * Go to Microsoft Product Support Services and perform a title search for the words HTTP and 403. * Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Configuring ISAPI Extensions, Configuring CGI Applications, Securing Your Site with Web Site Permissions, and About Custom Error Messages. * In the IIS Software Development Kit (SDK) or at the MSDN Online Library, search for topics titled Developing ISAPI Extensions, ISAPI and CGI, and Debugging ISAPI Extensions and Filters.
View Replies!
View Related
Configuring Php/mysql On IIS Server
I have setup php and mysql on a windows IIS 6 server. php has installed fine and works but I have 2 problems 1. When i browse to http://localhost i get a 403 error but when browsing to http://localhost/index.php it works fine. It makes me think that the server does not know what extension to default to when doing a directory listing 2. I have phpmyadmin installed and the cfg file is set to do a 'config' authentication. That works but everytime i go to submit a form to create a new database or anything i get prompted with an HTTP user/pass. I'm not sure if this is a phpmyadmin issue or a php configuration issue
View Replies!
View Related
Changing Settings For Php.ini On IIS
I have IIS on my computer and I want to start using a php driven forum (SMF) on my web site. Before I upload the files I need to check the following settings are on: the engine directive must be On. the magic_quotes_sybase directive must be set to Off. the session.save_path directive must be set to a valid directory, or empty. the file_uploads directive must be On. the upload_tmp_dir must be set to a valid directory, or empty. I cant find anywhere within IIS where these directions maybe found. Can anyone point me in the right direction?
View Replies!
View Related
Windows Server 2000, IIS And PHP
I have successfully installed PHP onto my MS Server 2000 platform, and can execute the files without problem. html files no longer work, but I think this is to be expected? Renaming them .php allows them to work. However, I am struggling to set a default page - I have gone to 'document' in the IIS settings, and removed all other default pages, and added index.php. This has not worked. I can access xxx.myserver.com/index.php, but it does not show when accessing xxx.myserver.com
View Replies!
View Related
Cheap Reliable Server That Can Run PHP/MySQL With Plesk
I currently have a decent server that runs around 10 websites, but 1 of those sites contributes around 99% of the total traffic. This large site is being moved onto a new server, leaving the remaining 9 sites rattling around on this big (and expensive!) server. So, I am now looking for a smaller server to handle the other smaller sites. They get minimal traffic - around 5k uniques a day.
View Replies!
View Related
|