IIS - Make PHP Run With .html Extension
Dec 12, 2008
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 6 Replies
ADVERTISEMENT
Feb 9, 2007
How can we make PhP run on html pages?
View 5 Replies
View Related
Mar 4, 2007
how can i make in SSH install index.html in evey folder without index in my server?
View 6 Replies
View Related
Jan 11, 2015
i have made my all pages with .html extension and hence my SEO is based on accordingly. Now i made some changes to htaccess that causes to not inclusion of header and footer pages (both are made with .php extension ). so i decided to change the extension of pages (.html to .php) and it wokrs. due to SEO and large number of pages i want all my pages .php (made later). to get converted automatically with .html in browser. so is it possible using .htaccess rewrite.
View 1 Replies
View Related
Jan 10, 2007
My webserver treat ALL files with html tags inside as html files, e.g. text files or EVEN files without extension.
How to only allow .htm, .html files?
I've deactivated temporary mime magic, I also tried with some RemoveHandler, AddType lines but nothing
View 9 Replies
View Related
Apr 30, 2008
we have a client who needs a dedicated server provider that is capable of hosting a military .mil extension web site.
View 5 Replies
View Related
Apr 25, 2008
I have installed Front page extension but when i access the page its gives the error :-
FrontPage Run-Time Component Page
You have submitted a form or followed a link to a page that requires a web server and the FrontPage Server Extensions to function properly.
This form or other FrontPage component will work correctly if you publish this web to a web server that has the FrontPage Server Extensions installed.
Click the <Back> arrow to return to the previous page.
View 2 Replies
View Related
Jun 26, 2008
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 4 Replies
View Related
Jul 25, 2009
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 2 Replies
View Related
Jun 11, 2009
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 11 Replies
View Related
Dec 11, 2008
got suhosin-0.9.24 extension on my centos 5.2 server, the patch has NOT been applied.
how do i remove/uninstall suhosin-0.9.24?
View 3 Replies
View Related
Mar 10, 2008
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 3 Replies
View Related
Jan 6, 2007
The problem is that i want to hide the php extension from the visitor so that no one knows what scripting language lies beneath..
If I use the following solution {
I think I should write snippets of php codes inside html files.. so i want apache to go through each html file to see if there are php code or not..
I write the following mime types with cpanel:
application/x-httpd-php .php .adp
application/x-httpd-php .php .htm
application/x-httpd-php .adp
}
Then {
Error appears when I go to any page in the site "Internat Server Error"
}
Else if {
I can use .htaccess to do the same effect in a particular directory
}
Then {
The same error appears "Internal Server Error"
}
Else {
What can I do?
}
View 0 Replies
View Related
May 15, 2008
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 0 Replies
View Related
Jun 18, 2007
is it possible to install the cURL extension on a VPS with root access ?
View 5 Replies
View Related
Apr 20, 2009
I run a Perl/CGI script from a Web page to download some files located in a Linux server. When I click from a Windows XP on the link of the file to download via this Web page (IE), a dialog box will be displayed to ask me to "Open" or "Save" the file (.txt, .doc, .xls,...) but for some extensions like ".dat" or ".asc", the dialog box ask me to save it only and I have not an "Open" button.
I tried to configure Apache to add these extensions as text/plain by adding these lines in http.conf:
AddType text/plain .asc .txt .dat
How can I add these extensions (.dat, .asc and other extensions) to Apache configuration to be able to open it with Textpad or Notepad?
I hope that the users will be able to open it with Notepad or TextPad without saving it. I know that we can add this type directly in the stations XP but I have a lot of users and I cannot manage that. I hope to perform it from the server. I think something is wrong or missing in my AddType, AddHandler or LoadModule?
View 5 Replies
View Related
Jul 11, 2009
I have a server running CentOS with PHP 5.2 and I'm trying to figure out how to enable PDO with the MySQL extension. I had thought PDO always came enabled with 5.2, but that apparently isn't so with this box. I am only familiar with Ubuntu/Debian, and am not sure how things are done on CentOs.
View 2 Replies
View Related
Aug 9, 2008
I was always told by their customer service that FE was supported. Always means before I placed an order, before I transferred the host and after the DNS propogation.
But FE didn't work for me! After more than 20 emails exchanged under the same tickent #, PrecisionEffect said 'look into this a bit more' then kept silent for more than 4 hours, not as normal as their outstanding response time in minutes.
My client was getting panic. She was losing the business because the web site coulnd't work properly without FE enabled.
I had to return to our old host.
View 9 Replies
View Related
Jan 28, 2008
I have probelm when I run this command :
[root@server ~]# tail -f /etc/httpd/logs/error_log
I have this output :
doesn't appear to be a valid Zend extension doesn't appear to be a valid Zend extension ...
this is my php -v :
[root@server ~]# php -vPHP 5.2.5 (cli) (built: Jan 23 2008 12:42:14)Copyright (c) 1997-2007 The PHP GroupZend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Suhosin v0.9.22, Copyright (c) 2007, by SektionEins GmbH with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies[root@server ~]#
View 7 Replies
View Related
Mar 24, 2008
I just get my server today. I have a scipt is require php soap extension. I don't what is teh step and how to install
My serrver is preinstall php 5. May I know how to enable and install php soap extension?
View 6 Replies
View Related
Jul 2, 2008
I am having a hard time tracking this down. Its a Cpanel/WHM server; 64 bit; Centos 5.2 server
In easyapache i have selected imap to be compiled in...
Problem:
When logging into Horde it get the following
A fatal error has occurred
Auth_imap: Required IMAP extension not found.
Details have been logged for the administrator.
php -m | grep imap
Shows nothing loaded. I am completely stumped with this, can anyone help ?
Also its not just Horde, but any PHP code using imap, its almost as if its not compiled in at all.
View 2 Replies
View Related
Mar 7, 2007
Server :
pentium IV 3.0 Ghz
debian 3.1
kernel 2.6
apache2
php4.3.10
Some months ago I installed php4 on this server , and added eaccelerator.net , mostly with this site as guide. Everything worked fine.
Few days ago I realize I hadn't updated this server for a while. I run 'apt-get update' and 'apt-get dist-upgrade' . A whole lot of things get updated, and after that I perform a reboot, as adviced by the update script.
The next day I experiment a bit with the profiler of xdebug . I manage to install it , play around with the results, but decide to uncomment it from php.ini again as it is not that helpfull to me and it makes quiet big log files too.
Today I notice this server is getting very big loads. Normally on peak evenings it would float around 2-4 , with sometime jumps to 10-12 but always quickly recovering and working well. But on this evening it kept rising, stayed around 30-60 for most of the time, and even hit up to 85 . It only lowers when the busy hours are really over. So I look around everywhere , and then after a few hours I notice that eaccelerator is not visible in phpinfo(); anymore. This is the only weird thing I could find, and I assume this caused a big difference on the performance.
I dont know why exactly it went away. Maybe it was the server update, wich touched a lot of files. But I thought it was not supposed to update any configuration files, not without warning at least. I could also have been the xdebug script, wich also uses 'phpize' to install and also required editing in php.ini . I really wish I noticed the lack of eaccelerator after the update but before trying xdebug.
So I try to install eaccelerator again. Unpack from source, phpize, make, etc etc, just as last time. I edit php.ini to make sure the load command and settings of eaccelerator are still there and reload apache. I check phpinfo(); , but nothing changes. I try it all again to be sure, but still nothing. I check the location of the .so files, yes they are still there and the rights of the files look ok.
I edit php.ini again and uncomment 'extension=mysql.so', and reload apache. I notice a mysql error on my site as expected. So that means I'm really editing the right php.ini file and that I can influence the extensions that are loaded. I add the mysql extension again and reload apache.
I load an old php.ini backup file, from right after first installation of this server. The eaccelerator settings are there too already, but if I try it and reload apache : no difference.
I reboot my server again, because .. well sometimes it helps. But not with this. phpinfo(); still says no eaccelerator.
I check another server, exact same specs, same php+eaccelerator installation on the same day as the first one. I compare versions of apache/php/php extensions/zend extensions and all numbers I can find. Everything still looks the same, except server 1 does not have eaccelerator and server 2 still has.
I'm shomehow out of things to check now. I'm pretty sure eaccelerator has a big influence on the performance of my heavy php site, and I want it back. Everything looks ok, the files are there, the settings in php.ini are there, it should work ... but it doesnt. No errors or warnings anywhere, just phpinfo(); saying that eaccelerator has not been loaded and the high loads are confirming this.
It will either be a very complicated solution, or a very simple one, but I'm just looking over it. Does anyone has any tips on where to look or what to try ? Thanks.
View 4 Replies
View Related
Sep 23, 2013
I am setting up my work environment on OSX (a new macbook), and my previous setup is a Windows 7 PC. I've found that mod_rewrite is no longer working, and have found some clues why:
Typically, I want to take [URL] ....
which by mod_rewrite will get turned into [URL] ....
so far so good, and this works fine on the Windows PC.
However, I believe Apache on my macbook has something configured differently, as since it knows about the file catalog.php, it appears to update [URL] ....
BEFORE the mod_rewrite happens. Hence the mod_rewrite fails.
I am basing this on having enabled RewriteLog in httpd.conf.
Found the fix. Per stackOverflow - turns out adding the following to the .htaccess file:
Options -MultiViews stops this behavior.
Source: [URL] ....
View 1 Replies
View Related
Feb 11, 2013
I would like to install mcrypt extension on my server and i don't find procedure .
My version is :
OSCentOS 6.3 (Final)
Version de Parallels Panel11.0.9 Mettre àjour #36, dernière mise àjour àFév 8, 2013 06:32 PM
View 19 Replies
View Related
Sep 23, 2013
I'm running PP 11.0.9 on Windows 2008 R2 and I've tried to add a PHP extension to the additional directives box of the PHP settings page (domain), however this has no effect on PHP. If I add the extension manually to PHP.ini then it works fine, but adding it to the "additional directives" box does nothing - I've confirmed this on 3 different servers, it does the same on all of them.
I did some searching and it looks like others have this problem too: [URL] ....
View 3 Replies
View Related
Aug 1, 2014
I want to Reinstall Watchdog(RKHunter), but i don`t find Watchdog in Extensions.
Is it no longer available ?
View 1 Replies
View Related
Nov 13, 2014
Installation of the Plesk VPN extension reproducible fails on Debian Wheezy
Plesk 12.0.18 Update #24
Debian 7.7 Kernel 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux
Steps to reproduce:
Plesk Panel > Updates and Upgrades > Install "Plesk VPN extension"
Green Message "All operations with products and components have been successfully completed."
Going back from Upgrade window to Plesk Panel Home
[Code] .....
What I already have tried:
Shell > apt-get install psa-vpn
Getting error mossage:
Setting up psa-vpn (12.0.18-debian7.0.build1200140606.15) ...
ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)
Shell > modprobe tun
ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)
View 3 Replies
View Related