we've been installing a web-app on a domain controller at work. Previously the app ran on WAMP but the new server has to run IIS, though PHP and MySQL is acceptable for now.
We've jumped through hoops to get it working as well as it is now, but we've hit a few snags which seem common, but none of the solutions work for us.
We were having problems where the MySQL extensions for PHP could not be loaded because of access rights. When we look at a phpinfo() output the MySQL information is completely missing. This happens with any user set in the application pool with the exception of Administrator. When we make that user the one that runs that application pool then the MySQL extensions load fine and the whole system works perfectly. Even if we change it to another admin user the system still won't work.
I am fairly new to managing an IIS 6 server and recently installed PHP 5. I am still learning about ISAPI and ISAPI filters. In the WSE within IIS Manager I have allowed PHP to be used. Is PHP running as an ISAPI application and if so why would no filter be showing up in the ISAPI filters property box of the website? Everything works fine, I am just trying to get a better grasp of this issue.
I have a web application built with PHP which uses the MVC design pattern.
The application forwards all requests through index.php.
I am using IIRF (similar to mod_rewrite - IIS6 has no native rewrite module) to rewrite all requests through the index.php file and this is successful.
My application has several "modules" which I wish to be accessible via different URLs. For example the following is how I wish to set up my URLs: ...
I have enabled compression in IIS6 on win2k3 server and the dynamic compression is working lovely but the static compression is not functioning. I have double checked the metabase settings and permissions on the Temp Folder (IUSR write permissions) but nothing is ever written to the folder and my static files (htm,html) are not sent with compression! FWIW I can compress them by adding the filetype to the dynamic compression metabase string and they work but this is not efficient. I think I must have overlooked something...
I've installed Imagemagick on our server and tested that it works using the little test that you do at the end of the installation. All is fine.
However, in order for my web site to seeuse it I assume I need to tell IIS 6 about it's presence? If so, how do I do it? If not, do I just need to allocate permissions to the Imagemagick folder (eg IUSR)?
I have virtual folder in IIS6 which has asp file as default and several jpg files. How to prevent JPG files download from server? I want to let execute asp file only and do not let users download jpg files.
I am having trouble setting up webdav on IIS6. I wasted all day on this today.
So far I have set it up to work over the internet with anonymous access.
Now I want to turn on:
1) basic authentication
2) SSL
I try to turn on (1) but:
- when try to access over the internet, it prompts for my login but it doesn't accept the login and keeps reprompting me.
- when I try to access from the local server, it seems to accept the login but gives an error 'the folder you entered does not appear to be valid, please choose another'
I have created a new user who has permission to access both the directory on the server and the virtual directory in IIS. I have turned on the webdav extension. I have tried reinstalling IIS too.
i recently set up a new testing web server(iis6), but can't view any of my websites hosted on my mac (osx leopard). I can ping the server from the mac, and RDP with out any problems, just can't view any websites. i've tried using the ip of the server (192.168.1.15) in the browser the server name but still no luck. server firewal has been disabled
I am attempting to change the host headers on my site that take my domains and forward them out to another domain.
My problem is that if a person type in [url], it brings them to my site and every link of the site is then [url]instead of redirecting it to my intended [url]
My site is hosted on a friends server, which is in his office on a 24MB Business ADSL connection, and is running Server 2003 Enterprise.
I thought i'd try and set up custom error pages for my site last night, but for whatever reason, I can't get them working.
I did a test page with random text, and named it 404.htm.
I then did a file with the following in:
<Files .htaccess> order allow,deny deny from all </Files> ErrorDocument 404 /404.htm
I then renamed the file to .htaccess after uploading both of the files.
However, when I tried entering a non existant page url, the normal IIS 'page cannot be found' error came up.
In addition, the .htaccess file was still visible when I connected via ftp again.
Now I think of it, I can understand the file not ending up invisible, since files with a . in front are most commonly used on *nix OS's.
However, that wouldn't explain the error page not working.
Is there something I need to get the person who owns the server to do to get it working, or am I doing it completely the wrong way for a Windows machine?
should have done a search before posting really.....I was doing it the wrong way, and I will need to get him to do it, as it needs setting up in the IIS config.
When ever I edit php.ini the changes are not reflected in my PHP applications (I check using phpinfo). Even after restarting IIS (Right click on the computer in IIS > All Tasks > Restart IIS) the changes are not reflected.
The only way I found out how to update the changes is by restarting the whole server, but this is not pratical.
How can I get the edits in php.ini to reflect in my PHP applications without having to restart the whole server?
how to trace or know who is overloading IIS in windows 2003 server?
When i check in the task manager , i saw sometimes w3wp.exe (IIS Worker Process) using high CPU usage for long time. That cause the server to be sluggish and sometime not responding.
Any tips or software that can tell which websites that cause the overload?
I use an SSL certificate on IIS6 for Outlook web access.
I have to renew in the next few days.
Now I find that Godaddy have changed the minimum bit length from 1024 to 2048, but the Microsoft Wizard doesn't give me the chance to change the bit length when I try to generate the CSR file.
If I remove the certificate and generate a new certifcate CSR will I be OK? (I can stand a little downtime - it's a small organisation).
Do I have to get all the text the same as when I first requested the SSL certificate? Or just the URL bit?
Customer wants to move his website in-house along with his email. The hardware guy installed a windows 2003 64-bit exchange server. I logged in with logmein and created a directory c:Inetputwwwroot hewebsite. Copied iisstart.html to the new dir. Put the company name in the iisstart file. Opened IIS6. Went to properties of the default website and pointed to the new directory on the home dir page. Added iisstart.html the Documents page and moved it to the top. Closed everything. Opened Internet Explorer 7 and put in http://localhost. All worked well. Brought up the new start page. Opened IE7 on my pc and put there ip address in and it also brought up the new webpage (tested the port 80 in the router). Said we were ready to go.
The hardware guy sent me an email stating that he was having problems with the 64-bit version and took the server back to the 32-bit version of windows exchange server. I logged back in with logmein and followed the same exact steps as above but it will not show the new webpage. Am getting a page not found error.
I have done the above on several 2003 servers and several xp pro machines. Always works.
Have done one 2003 exchange server. Went to a couple of those servers and made sure the default website settings were exactly the same as the ones that work. Still no help.
Downloaded an iis6 troubleshooting program from microsoft but cannot locate the error. I have been studying the II6 documentation and 2003 exchange server documentation. Went thru all the tutorials in google on iis6 and exchange I can find no help.
We are migrating an existing multi-site Windows2003/IIS6 web hosting system with
CFusion8 MS Access backend databases SQL2000 backend databases http and https site access
to
Windows2012 R2/IIS8.5 with CFusion10 MS Access backend databases (not updated) SQL2014 databases http and https site access
On the new system we are looking to add Plesk12 to give users easier management of their own websites.I am about to install the trail version of Plesk12 WebHOST.I have the following questions:
1. Can we use the plesk migration tool to move the websites from the old IIS6 to the new IIS8.5 server? 2. If not, am I right to think we would migrate from IIS6 to IIS8.5 manually and then import these websites into Plesk12 from the new server? 3. Can I migrate the existing websites piecemeal over onto the new server and into the Plesk control panel at the same time as creating brand new websites under the control panel? 4. Once Plesk is installed on the new IIS server is there a KB article on how to add all these existing websites to Plesk - I could not find one. 5. Is the local windows administrator account used for the install used to run any services?
I have just installed PHP5 into my IIS server and want to install projectpier
1st problem: When I go to [url]I get the errorThis Virtual Directory does not allow contents to be listed.
There is an index.php in there but doesn't load even though I have specified it as a default content page in the website..
2nd problem: After I manually browse to the install page I get the following errors:
#Error: /config/config.php is not writable
# Error: /public/files is not writable
# Error: /cache is not writable
# Error: /upload is not writable
I have realised that permissions are not setup right so I went and gave cart blanche access to the folder for any user..it worked but is far from secure.What is the best way to do this?
When installing web applications like this are they usually done from the servers browser where the server is the only one with full access.I tried this and it didn't work.
We have a client which site requires PHP4, not PHP5 to run. Can we run both PHP versions alongside each other? Apparently, their site will only work in PHP4. We are running Plesk 8.3.0 for Linux.
checking for T1lib support... no checking whether to enable truetype string function in GD... no checking whether to enable JIS-mapped Japanese font support in GD... no checking for fabsf... yes checking for floorf... yes If configure fails try --with-jpeg-dir=<DIR> checking for png_write_image in -lpng... yes If configure fails try --with-xpm-dir=<DIR> If configure fails try --with-freetype-dir=<DIR> configure: error: GD build test failed. Please check the config.log for details.
I think i'm not the only one who is experiencing this problem, take a look here: [url]
Why do PHP.net don't give much importance to this BUG?
I recently installed ubuntu 7.10, and apache2. Both installed with no problems. In my browser i am able to type localhost, and i recieve the "It works" page. I can also start,stop and restart with no problems. However, I cannot install php5. I use synaptic package manager to install, and i added the appropriate lines to the httpd.conf file but i still cannot view .php files. I try to run a simple php page and a dialog box pops up prompting me to open or save the file. If i choose either, the box just pops up again.
I'm trying to keep up with things by developing for PHP5. My current host still uses PHP 4.4.1, which is a pain. Can someone advise me if I should change host to someone who uses PHP5. I would rather have shared hosting due to budget. If so, who should I use? Otherwise, can someone point me in the direction of a resource that describes how to develop for PHP5 while retaining backward compatibility for PHP4.x so I can write code targeted primarily at PHP5, but also works on PHP4.x?
i am getting Internal Server Error while accessing php5 pages. cat .htaccess AddHandler application/x-httpd-php5 .php Premature end of script headers: /usr/local/cpanel/cgi-sys/php5
I've already managed to pick two web hosts for my business that probably won't do the job, so I'm looking for some advice. Primarily we need PHP 5 (with cURL), MySQL 5, easy to implement SSL and some kind of e-mail. I wouldn't imagine using more than 1gb monthly data transfer or needing more than about 20mb of storage.
The database design and all the code was custom written by me and a friend. We are not interested in overly-fluffy GUI's - we like power tools without the finger guards. We'd also like to have good logs of errors, accesses, etc.
Finally, I'm not interested in saving $10 a month to get an overloaded server that goes down now and then. Web host rates are pretty much trivial in comparison with the cost of downtime for this site.
I have installed PHP 5.2.1 (with this guide) working along side PHP 4.4.6, but I am trying to install mailparse into PHP5 and have not had much luck at it.
I think it maybe installing it for PHP 4 and not PHP5 as it seems to be the same date all the time: 20020429 and I believe it should be 2004 or newer from what I have read on Auracle Support Forum.
We have a server runing both php4 + php5 and had someone set it up that way when we got the server. but now i cant find who did it for us. And would like to hear how to do it. Im not the best with this kind of stuff and thats why i hire someone to do it lasttime
I been reading on cpanel.net but nothing is up to date!