I'm using PhantomJS on windows and accessing the files through command line. Now I want to install it on the server I'm working on local host so I want it to be installed on Apache, so that I may integrate Phantom with my html and PHP to be used within a web page. I'm using Windows 8.1 and Apache Server for localhost.
Can I actually do that? How to use it in web services now? How i will use it if I have to make my web online? should I have t ask my hosting provider to place this thing on server for me?
I'm using phantomJS to develop a web service which takes a url as input and returns an image file of the screen shot of the website.
After downloading source file and extracting it in folder,
i performed this steps
1) $ ./configure --prefix=/usr/local/apache 2) $ make 3) $ make install 4) $ PREFIX/bin/apachectl start
On the first step itself , i am getting this error -
checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu
Configuring Apache Portable Runtime library ...
checking for APR... reconfig configuring package in srclib/apr now checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu Configuring APR library Platform: x86_64-unknown-linux-gnu checking for working mkdir -p... yes APR Version: 1.2.12 checking for chosen layout... apr checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. configure failed for srclib/apr
Here is contents of config.log
Code: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was generated by GNU Autoconf 2.60. Invocation command line was
configure:2266: checking for chosen layout configure:2268: result: Apache configure:3073: checking for working mkdir -p configure:3089: result: yes configure:3106: checking build system type configure:3124: result: x86_64-unknown-linux-gnu configure:3146: checking host system type configure:3161: result: x86_64-unknown-linux-gnu configure:3183: checking target system type configure:3198: result: x86_64-unknown-linux-gnu configure:3270: checking for APR configure:3352: result: reconfig
I am new to our own vps with cpanel (though used cpanel for years) and instead of just using the built-in script to install mod_gzip I wanted to use the special mod_deflate for 1.3.37 I've read about since it apparently is much faster
The problem is I've only compiled and built minor things before with step by step instructions - and I realize this has the potential to hose my server so I want to make sure I do it right.
I found these instructions: [url]
if I ignore the mod_accel bits, does it look like that would be fine on a regular cpanel setup?
I'm such a newb I am not sure even what location to unpack those tarballs so even more detailed instructions would be greatly appreciated if anyone is willing to share.
I am trying to install Apache + PHP on Windows XP SP2. I managed to get Apache working. However, when I setup PHP and tried to access a page with <?php phpinfo(); ?> it displayed nothing but a blank page. When I viewed the source is showed the PHP, therefore it was not parsed...
I have checked and double checked my paths, I have tried doing it as a module and cgi, I have read tutorial after tutorial and I cannot get it to function properly.
to install phpmyadmin on the external Apache server running FreeBSD. I downloaded the phpMyAdmin. ... tar.gz file to my Windows XP computer. I can upload it to the server, but I don't know how to get it to self-install once it's uploaded. What do I type in the telnet screen to unzip it once I upload it? I suppose I should put it in a usr/local/phpmyadmin folder.
Are there any other steps I must do to set it up to work? Note that I expect to use it to create and manage databases from my work computer. Is this the right tool?
I designed my companies website but we've had a change in IT and php went down. The new guy (who is here to fix things) just sent me this and quite frankly I'm at a loss (i use a VPS, thus never having to deal with this stuff). But seeing how it's my own company I figured I'd try to help.
Here is the question:
You are running IIS (windows server). The PHP should be something straight forward, but as we see it is not... Previously, you had PHP ver PHP 5.2.6 dated may 2008. - it wasn't working correctly. I updated it with the latest version php-5.2.9-1 dated march 2009. - and now the PHP is not functioning.
My questions, if you know was to figure which option of PHP cgi are you using. IIS ISAPI module IIS FastCGI IIS CGI
Then, when installing the PHP, there are many extensions that are optional to install. Do you know or can you tell me, which extensions are needed by your app?
Honestly, the website just uses a few php includes to template it (and make my life easier). And that's what were trying to get working.
I decided to go with Cent OS after reading about it in the forums here, but I've had nothing but problems trying to install it. I first tried to do a net install but the installation took nearly an entire day because it would keep popping up messages about corrupt files when downloading the package files. Eventually it just gave up or rebooted because I came in in the morning to find it at a message saying "No OS installed". I then burned all 7 installation disks and tried that way, still got a few of the corrupt file messages (but far fewer than the previous time) and made it through the installation only to still have it say "no os installed" again after the reboot. I thought maybe it had something to do with the fact that I was not installing a boot loader (there is no other OS installed anyways) but when I tried to reinstall a third time, this time with the boot loader, it now says that the CD drive (USB) is already mounted on tty2 and I can't even start the installation? WTH!
The server is a Dell PowerEdge R300 with two Intel Core 2 Duo 64-bit processors. I'm using the x86_64 ISOs from the Centos.org mirrors.
trying to install nameserver in cPanel and getting errors about missing dependacies.
when I try and do it manually by running: yum install bind it goes ok for a while then I get the following:
Error: Missing Dependency: e2fsprogs-libs = 1.39-10.el5 is needed by package e2f sprogs Error: Unable to satisfy dependencies Error: Package e2fsprogs needs libblkid.so.1, this is not available. Error: Package e2fsprogs needs e2fsprogs-libs = 1.39-10.el5, this is not availab le. Error: Package elinks needs libcom_err.so.2, this is not available. Error: Package cadaver needs libcom_err.so.2, this is not available. Error: Package util-linux needs libuuid.so.1, this is not available. Error: Package pkinit-nss needs libcom_err.so.2, this is not available. Error: Package openssl needs libcom_err.so.2, this is not available. Error: Package nss_ldap needs libcom_err.so.2, this is not available. Error: Package openssh-server needs libcom_err.so.2, this is not available. Error: Package fetchmail needs libcom_err.so.2, this is not available. Error: Package util-linux needs libblkid.so.1, this is not available. Error: Package cryptsetup-luks needs libuuid.so.1, this is not available. Error: Package pam_krb5 needs libcom_err.so.2, this is not available. Error: Package krb5-libs needs libcom_err.so.2, this is not available. Error: Package parted needs libuuid.so.1, this is not available. Error: Package openssh needs libcom_err.so.2, this is not available. Error: Package quota needs libcom_err.so.2, this is not available. Error: Package readahead needs libext2fs.so.2, this is not available. Error: Package krb5-workstation needs libcom_err.so.2, this is not available. Error: Package cyrus-sasl needs libcom_err.so.2, this is not available. Error: Package mutt needs libcom_err.so.2, this is not available. Error: Package e2fsprogs needs libe2p.so.2, this is not available. Error: Package e2fsprogs needs libext2fs.so.2, this is not available. Error: Package neon needs libcom_err.so.2, this is not available. Error: Package e2fsprogs needs libuuid.so.1, this is not available. Error: Package openssh-clients needs libcom_err.so.2, this is not available. Error: Package krb5-workstation needs libss.so.2, this is not available. Error: Package quota needs libext2fs.so.2, this is not available. Error: Package ipsec-tools needs libcom_err.so.2, this is not available. Error: Package e2fsprogs needs libss.so.2, this is not available. Error: Package gnupg needs libcom_err.so.2, this is not available. Error: Package curl needs libcom_err.so.2, this is not available. Error: Package readahead needs libuuid.so.1, this is not available. Error: Package e2fsprogs needs libcom_err.so.2, this is not available. Error: Package readahead needs libblkid.so.1, this is not available. Error: Package nfs-utils needs libcom_err.so.2, this is not available. Error: Package readahead needs libcom_err.so.2, this is not available.
installing svn on my Directadmin server. I'm trying to get it configured with apache, but I'm having some trouble.
When I run "yum install mod_dav_svn" it tells me there is nothing to do. I'm not sure why this is. I think it may have something to do with Apache 1 originally installed on the server. I upgraded to Apache 2.26 via the new custombuild script by DA.
I have to admit that I really don't even know what DAV (same as webdav?) is. This should be a straight forward install, but I think because of Directadmin it's much more complicated.
I know that I could pay someone to do this for me, but I don't learn anything that way. I'm a CS undergrad, so I really like learning.
I tried installing MRTG in my Linux Server by using help from -
What i have done till now is -
cd /usr/local/src gunzip -c mrtg-2.16.2.tar.gz | tar xvf - cd mrtg-2.16.2
make install After this i am unable to understand what to do, and how to start MRTG graphs.
* the next last step says,
The next step is to configure mrtg for monitoring a network device. This is done by creating an mrtg.cfg file which defines what you want to monitor. Luckily, you don't have to dive straight in and start writing your own configuration file all by yourself. Together with mrtg you also got a copy of cfgmaker. This is a script you can point at a router of your choice; it will create a mrtg configuration file for you. You can find the script in the bin subdirectory.
This example above will create an mrtg config file in /home/mrtg/cfg assuming this is a directory visible on your webserver. You can read all about cfgmaker in cfgmaker. One area you might want to look at is the possibility of using --ifref=ip to prevent interface renumbering troubles from catching you.
^^ this is what i am not able to understand.
When i ran the script, (below mention) it gave many errors, how to resolve them ?
[root@c bin]# ./cfgmaker --global 'WorkDir: /home/httpd/mrtg' --global 'Options[_]: bits,growright' output /home/mrtg/cfg/mrtg.cfg eth0 Error: can't resolve "output" to IP address at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428 SNMPWALK Problem for public@output::::::v4only at ./cfgmaker line 950 WARNING: Skipping public@output: as no info could be retrieved
Error: can't resolve "/home/mrtg/cfg/mrtg.cfg" to IP address at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428 SNMPWALK Problem for public@/home/mrtg/cfg/mrtg.cfg::::::v4only at ./cfgmaker line 950 WARNING: Skipping public@/home/mrtg/cfg/mrtg.cfg: as no info could be retrieved
Error: can't resolve "eth0" to IP address at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428 SNMPWALK Problem for public@eth0::::::v4only at ./cfgmaker line 950 WARNING: Skipping public@eth0: as no info could be retrieved
# Created by # ./cfgmaker --global "WorkDir: /home/httpd/mrtg" --global "Options[_]: bits,growright" output /home/mrtg/cfg/mrtg.cfg eth0
### Global Config Options
# for UNIX # WorkDir: /home/http/mrtg
# or for NT # WorkDir: c:mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right # Options[_]: growright, bits
EnableIPv6: no WorkDir: /home/httpd/mrtg Options[_]: bits,growright
Wondered if anyone has managed to install SSL on fasthosts dedicated server?. I have bought an SSL certificate from goDaddy, but it just won't install. Fasthosts support is OK until you tell them that you're dedicated then they just say they can't help technical questions on that, but an engineer can help @ £60 per ½ hour. goDaddy tech support keep sending me the same instructions, and I've now tried 3 times & just not recognised
configure: error: Cannot find MySQL header files under /usr/local/webserver/mysql. Note that the MySQL client library is not bundled anymore!
Because mysql installed on another physical server. so how may I fix the problem? can I configure php without "---with-mysql" and "--with-mysqli" parameters? I need my php could access remote mysql server.
I have had my websites hosted with 1and1.fr for nearly 3 years now and have never had the slightest issue with them. I used to host a static average traffic website plus a punBB forum and some low traffic joomla based websites (nothing that needs much power as you can see).
A week ago, I bought a website (wordpress blog) and the guy included two proxies in the sale. I installed the two proxies and had a lot of trouble installing the wordpress blog so I moved it to another host where it now works all right. However, I am still getting 500 Internal Server Errors on my initial host (I thought it was caused by the wordpress blog) on all my websites hosted at 1and1 and it happens almost every other page!
I have many questions:
- are the proxies the cause?
- how can I know my websites have been moved to another server?
- do you think a VPS can solve the problem, or do I need a dedicated server?
- what is the best solution for hosting proxies?
I have sent a ticket to them yesterday and I am still waiting!
The company I work for unfortunately runs their site on a IIS server. I want to install some forum software, vBulletin or phpBB onto the server and run it on the same site. PHP of course needs to be installed to do this.
Boss is worried that putting PHP on same server as ASP might take down the site if something goes wrong. What are the odds of this happening if I follow directions and what steps should I take to install?
just recently upgraded from a fully managed VPS to a Dedicated Server. Everything seemed to be going fine, until I tried installing RoR. I have RubyGems installed and all that, but whenever I try to install Rails, the following happens.
I've read through a number of threads regarding installing GD. So sorry for yet another, but I just want to make sure that I'm doing this correctly.
As seen in the attachment below I'm presented with a few options:
Previously Saved Config (** DEFAULT **) Basic (If your previous build has failed, please use this option) No PHP PHP Encryption / E-commerce PHP Encryption and Image Manipulation PHP Image Manipulation PHP Security
Should I start by selecting the option "Previously Saved Config (** DEFAULT **)" and then "Start Customizing Based On Profile"? I've walked through the steps doing the above and have a question about the last section. Viewing the Exhaustive Options List shows GD as already checked yet towards the bottom I see a checkbox with the following (second attachment below): Quote:
Save my profile with appropriate PHP 5 options set so that it is compatible with cpphp
This option will make the following changes to your profile prior to the build: Enables:
CurlSSL FTP GD Gettext Iconv Imap Mbregex Mbstring Mysql Mysql of the system PGsql Sockets Zlib
Should I check to save and then click "Save and Build" to get GD installed?
Some additional information: I have downloaded my default profile. (lol Let's hope I don't have to use it because I wouldn't know where to begin!)
My php.ini file shows that GD is not installed or at least not compiled (if that's the right word to use). To clarify, GD is not in the list.
I have tried yum install pgp-gd and get the following:
root@server [~]# yum install php-gd Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * base: styx.biochem.wfubmc.edu * updates: mirror.raystedman.net * addons: dist1.800hosting.com * extras: mirrors.easynews.com base 100% |=========================| 1.1 kB 00:00 updates 100% |=========================| 951 B 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Excluding Packages in global exclude list Finished Setting up Install Process Parsing package install arguments No package php-gd available. Nothing to do root@server [~]# No package php-gd available.
root@server [~]# rpm -q php-gd package php-gd is not installed
root@server [~]# php -m [PHP Modules] bcmath calendar ctype date dom eAccelerator filter ftp hash iconv imap json libxml memcache mysql pcre posix Reflection session SimpleXML sockets SPL SQLite standard tokenizer xml xmlreader xmlwriter zlib [Zend Modules] eAccelerator
root@server [~]# yum list | grep -i gd gd.i386 2.0.33-9.4.el5_1.1 installed gd-devel.i386 2.0.33-9.4.el5_1.1 installed gd-progs.i386 2.0.33-9.4.el5_1.1 installed gdb.i386 6.5-37.el5_2.2 installed gdbm.i386 1.8.0-26.2.1 installed gdbm-devel.i386 1.8.0-26.2.1 installed sysklogd.i386 1.4.1-44.el5 installed aspell-gd.i386 50:0.50-4.2.2 base gdk-pixbuf.i386 1:0.22.0-25.el5 base gdk-pixbuf-devel.i386 1:0.22.0-25.el5 base gdm.i386 1:2.16.0-46.el5.centos base libgdiplus.i386 1.2.5-1.el5.centos extras libgdiplus-devel.i386 1.2.5-1.el5.centos extras root@server [~]#
i want to installing PHP 5 so my server can run 2 version of PHP (4 and 5)
im following the step here [url]
installing was successful
[root@s1 /usr/local/apache/logs]# /usr/local/cpanel/cgi-sys/php5 -v PHP 5.2.1 (cgi) (built: Mar 30 2007 17:07:11) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
but when i try to running phpinfo for it, its show me an error
i grep the error from error.log and got this
[Fri Mar 30 17:42:47 2007] [error] [client 18.104.22.168] Premature end of script headers: /home/uletbulu/public_html/info.php [Fri Mar 30 17:42:47 2007] [error] [client 22.214.171.124] File does not exist: /home/uletbulu/public_html/500.shtml [Fri Mar 30 17:44:07 2007] [error] [client 126.96.36.199] Premature end of script headers: /usr/local/cpanel/cgi-sys/php5 [Fri Mar 30 17:44:07 2007] [error] [client 188.8.131.52] File does not exist: /home/uletbulu/public_html/500.shtml
but for php 4 there is no problem at all or the syntax for php 5 not using phpinfo(); anymore?